summaryrefslogtreecommitdiff
path: root/arch/arm/mach-omap2/usb-musb.c
diff options
context:
space:
mode:
authorFelipe Balbi <felipe.balbi@nokia.com>2010-02-18 01:09:31 +0300
committerTony Lindgren <tony@atomide.com>2010-02-20 02:22:18 +0300
commitbdfa35118c3149bfa7f6b259ca528f455af07c72 (patch)
treee3470bbb5428a2f337a404ce5f60495a08ad98fb /arch/arm/mach-omap2/usb-musb.c
parent9bdde53fa575d023ca51ba9df41464f62e22feb7 (diff)
downloadlinux-bdfa35118c3149bfa7f6b259ca528f455af07c72.tar.xz
omap: musb: remove unnecessary return
trivial patch, no functional changes. Cc: linux-usb@vger.kernel.org Signed-off-by: Felipe Balbi <felipe.balbi@nokia.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'arch/arm/mach-omap2/usb-musb.c')
-rw-r--r--arch/arm/mach-omap2/usb-musb.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/arch/arm/mach-omap2/usb-musb.c b/arch/arm/mach-omap2/usb-musb.c
index 4dfb66acc888..2221a6ccdeee 100644
--- a/arch/arm/mach-omap2/usb-musb.c
+++ b/arch/arm/mach-omap2/usb-musb.c
@@ -103,10 +103,8 @@ void __init usb_musb_init(struct omap_musb_board_data *board_data)
musb_plat.power = board_data->power >> 1;
musb_plat.mode = board_data->mode;
- if (platform_device_register(&musb_device) < 0) {
+ if (platform_device_register(&musb_device) < 0)
printk(KERN_ERR "Unable to register HS-USB (MUSB) device\n");
- return;
- }
}
#else