]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
USB: gadget: mass_storage: moved strings handling code to composite
authorMichal Nazarewicz <m.nazarewicz@samsung.com>
Thu, 12 Aug 2010 15:43:47 +0000 (17:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:23 +0000 (10:21 -0700)
commit7c2b61d02c384a0d5867e524ae72ad98ec2d33fd
tree83984b9b6ea3c9379c4e132f51dd348a37b15314
parentad1a8102f957f4d25fc58cdc10736c5ade7557e1
USB: gadget: mass_storage: moved strings handling code to composite

This patch removes string registration from the Mass Storage
Gadget.  With recent changes to the composite framework, all
that we need is handled by the composite layer.  This means
composite registers a string ID for manufacturer and product.

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/mass_storage.c