Skip to content

Commit

Permalink
usb: musb: omap2430: fix compile warning
Browse files Browse the repository at this point in the history
fix the following compile warning:

drivers/usb/musb/omap2430.c: In function 'musb_otg_notifier_work':
drivers/usb/musb/omap2430.c:279:3: warning: 'return' with a value, in
	function returning void
drivers/usb/musb/omap2430.c:282:2: warning: 'return' with a value, in
	function returning void

Signed-off-by: Felipe Balbi <balbi@ti.com>
  • Loading branch information
Felipe Balbi committed Dec 12, 2011
1 parent 712d8ef commit e7f4e73
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions drivers/usb/musb/omap2430.c
Original file line number Diff line number Diff line change
Expand Up @@ -283,10 +283,7 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work)
break;
default:
dev_dbg(musb->controller, "ID float\n");
return NOTIFY_DONE;
}

return NOTIFY_OK;
}

static int omap2430_musb_init(struct musb *musb)
Expand Down

0 comments on commit e7f4e73

Please sign in to comment.