Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e7f4e732 authored by Felipe Balbi's avatar Felipe Balbi
Browse files

usb: musb: omap2430: fix compile warning



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: default avatarFelipe Balbi <balbi@ti.com>
parent 712d8efa
Loading
Loading
Loading
Loading
+0 −3
Original line number Original line Diff line number Diff line
@@ -283,10 +283,7 @@ static void musb_otg_notifier_work(struct work_struct *data_notifier_work)
		break;
		break;
	default:
	default:
		dev_dbg(musb->controller, "ID float\n");
		dev_dbg(musb->controller, "ID float\n");
		return NOTIFY_DONE;
	}
	}

	return NOTIFY_OK;
}
}


static int omap2430_musb_init(struct musb *musb)
static int omap2430_musb_init(struct musb *musb)