]> git.baikalelectronics.ru Git - kernel.git/commit
USB: gadget: g_multi: moved strings handling code to composite
authorMichal Nazarewicz <m.nazarewicz@samsung.com>
Thu, 12 Aug 2010 15:43:49 +0000 (17:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:23 +0000 (10:21 -0700)
commitaae20877c1beb772ede433b3f471dd10fef148f2
tree56ea460056d8ef92792af4b9133ee3d4e4bea397
parent12ccc51c74a94bd7352bf1ae391ff4de6dd050cc
USB: gadget: g_multi: moved strings handling code to composite

This patch removes some of the string registration from the
Multifunction Composite Gadget as composite layer can handle
the iManufacturer and iProduct for us.

This also adds the "needs_serial" so that composite layer will
issue a warning if user space fails to provide the iSerialNumber
module parameter.

Signed-off-by: Michal Nazarewicz <m.nazarewicz@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/multi.c