usb: dwc3: core: refactor mode initialization to its own function
authorFelipe Balbi <balbi@ti.com>
Wed, 16 Apr 2014 20:13:45 +0000 (15:13 -0500)
committerFelipe Balbi <balbi@ti.com>
Mon, 21 Apr 2014 15:53:01 +0000 (10:53 -0500)
commit5f94adfeed97a62f31a25d14effc6ac13c847333
treed83ff7acccf5dddf1ce55a34c77bcf51556c3e2f
parent041832565e405d2e2ea218632b7bcafa87deaece
usb: dwc3: core: refactor mode initialization to its own function

Move mode (Host, Peripheral, OTG) initialization
to its own function in order to decrease the size
of our probe() routine.

Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/core.c