Rahul Ruikar 17a936117c USB: gadget: f_mass_storage: put_device() in error recovery
This commit fixes an issue with error recovery after
device_register() fails in Mass Storage Function.  The device
needs to be put to avoid resource leakage.

Signed-off-by: Rahul Ruikar <rahul.ruikar@gmail.com>
[mina86@mina86.com: updated commit message]
Signed-off-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-11-11 05:58:48 -08:00
..
2010-11-11 05:57:55 -08:00
2010-10-29 04:16:28 -04:00
2010-10-29 04:16:28 -04:00
2010-10-22 10:22:18 -07:00
2010-10-22 10:22:07 -07:00
2010-09-03 17:33:40 -07:00