From: Michal Nazarewicz Date: Wed, 16 Jun 2010 10:07:59 +0000 (+0200) Subject: USB: gadget: composite: usb_string_ids_*() functions added X-Git-Tag: v2.6.36-rc1~293^2~110 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f2adc4f8aaf272de9ac71dcb18d95ebe05fc3f94;p=pandora-kernel.git USB: gadget: composite: usb_string_ids_*() functions added usb_string_ids_tab() and usb_string_ids_n() functions added to the composite framework. The first accepts an array of usb_string object and for each registeres a string id and the second registeres a given number of ids and returns the first. This may simplify string ids registration since gadgets and composite functions won't have to call usb_string_id() several times and each time check for errer status -- all this will be done with a single call. Signed-off-by: Michal Nazarewicz Signed-off-by: Kyungmin Park Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed