usb: dwc3: omap: add dwc3_omap_set_utmi_mode() function
authorGeorge Cherian <george.cherian@ti.com>
Wed, 16 Jul 2014 13:07:07 +0000 (18:37 +0530)
committerFelipe Balbi <balbi@ti.com>
Wed, 16 Jul 2014 14:57:01 +0000 (09:57 -0500)
commitd2f0cf89ca2deca59cc4ca0c80c14100831428db
tree6446865fb8567184e64e860fb1284c97149c06d8
parent30fef1a97fb6551abb50b5208993726b878fe40f
usb: dwc3: omap: add dwc3_omap_set_utmi_mode() function

Move find and set the utmi mode to its own separate function.
Improve code readability, decrease the dwc3_probe() size.

Signed-off-by: George Cherian <george.cherian@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/dwc3/dwc3-omap.c