USB: musb: fix srp sysfs entry deletion
authorVikram Pandita <vikram.pandita@ti.com>
Sat, 21 Feb 2009 23:31:44 +0000 (15:31 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 27 Feb 2009 22:40:51 +0000 (14:40 -0800)
commite747951240b9f820b94fd5582663c66d798c8fd1
treeb3f53e4de8fa8f0cfc9621075393dcf72bf4d71e
parent5c23c9078f8e3476982409b1075b54c8cd65e82c
USB: musb: fix srp sysfs entry deletion

The SRP sysfs attribute is dependent on gadget mode; any
gadget may support SRP.  But "rmmod musb_hdrc" didn't
remove that attribute; fix.

Signed-off-by: Vikram Pandita <vikram.pandita@ti.com>
Acked-by: Felipe Balbi <me@felipebalbi.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/musb_core.c