Skip to content

Commit

Permalink
usb: musb: blackfin: call usb_nop_xceiv_unregister() in musb_platform…
Browse files Browse the repository at this point in the history
…_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>
  • Loading branch information
Sergei Shtylyov authored and Greg Kroah-Hartman committed Oct 22, 2010
1 parent f405387 commit 3daad24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/usb/musb/blackfin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

0 comments on commit 3daad24

Please sign in to comment.