usb: musb: blackfin: call usb_nop_xceiv_unregister() in musb_platform_exit()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Wed, 29 Sep 2010 06:54:30 +0000 (09:54 +0300)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 22 Oct 2010 17:21:59 +0000 (10:21 -0700)
Blackfin's musb_platform_exit() forgets to call usb_nop_xceiv_unregister().
While fixing this, also remove the unneeded blank line there.

Signed-off-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
Cc: stable <stable@kernel.org>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/musb/blackfin.c

index 9733fe9b597ae8a8ba1302f11ab39c1fe62f9d5a..4fa25553c45003c46465272fa1bf39445c235778 100644 (file)
@@ -394,9 +394,9 @@ int __init musb_platform_init(struct musb *musb, void *board_data)
 
 int musb_platform_exit(struct musb *musb)
 {
-
        gpio_free(musb->config->gpio_vrsel);
 
        otg_put_transceiver(musb->xceiv);
+       usb_nop_xceiv_unregister();
        return 0;
 }