OSDN Git Service

usb: chipidea: usbmisc: unset global varibale usbmisc on driver remove
authorMarc Kleine-Budde <mkl@pengutronix.de>
Sat, 30 Mar 2013 10:53:57 +0000 (12:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 30 Mar 2013 15:13:57 +0000 (08:13 -0700)
commitd48a24dbc0d3f21cbd594bcc2553d40cc5ed4fd9
tree29266b3a31f12570b5a9b8c2dee9448638b7d042
parenta7bc2fdf003c55f8e00e1e7e6fff51a4876779ef
usb: chipidea: usbmisc: unset global varibale usbmisc on driver remove

The probe function checks usbmisc to be NULL in the beginning. Without
this patch the can only be loaded once.

Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/chipidea/usbmisc_imx.c