diff options
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | 2010-09-29 02:54:30 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2010-10-22 13:21:59 -0400 |
commit | 3daad24d6c72affdd40e8b6a75c87d3c175880b6 (patch) | |
tree | 06b0c9198a9901b183ae6109eb8eb237a5f93a18 /drivers/usb/musb/blackfin.c | |
parent | f405387435a85a440d1ce16f3ca36e042281643a (diff) |
usb: musb: blackfin: call usb_nop_xceiv_unregister() in musb_platform_exit()
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>
Diffstat (limited to 'drivers/usb/musb/blackfin.c')
-rw-r--r-- | drivers/usb/musb/blackfin.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/musb/blackfin.c b/drivers/usb/musb/blackfin.c index 9733fe9b597a..4fa25553c450 100644 --- a/drivers/usb/musb/blackfin.c +++ b/drivers/usb/musb/blackfin.c | |||
@@ -394,9 +394,9 @@ int __init musb_platform_init(struct musb *musb, void *board_data) | |||
394 | 394 | ||
395 | int musb_platform_exit(struct musb *musb) | 395 | int musb_platform_exit(struct musb *musb) |
396 | { | 396 | { |
397 | |||
398 | gpio_free(musb->config->gpio_vrsel); | 397 | gpio_free(musb->config->gpio_vrsel); |
399 | 398 | ||
400 | otg_put_transceiver(musb->xceiv); | 399 | otg_put_transceiver(musb->xceiv); |
400 | usb_nop_xceiv_unregister(); | ||
401 | return 0; | 401 | return 0; |
402 | } | 402 | } |