/* All string identifier should be allocated using this, @usb_string_id() or @usb_string_ids_n() routine, to ensure that for example different functions don't wrongly assign different meanings to the same identifier.  */
int usb_string_ids_n(struct usb_composite_dev *c, unsigned n)
/* All string identifier should be allocated using this, @usb_string_id() or @usb_string_ids_n() routine, to ensure that for example different functions don't wrongly assign different meanings to the same identifier.  */
int usb_string_ids_n(struct usb_composite_dev *c, unsigned n)
{
	u8 next = c->next_string_id;
	if (n > 254 || next + n > 254)
		return -ENODEV;
	c->next_string_id += n;
	return next + 1;
}