mfd: omap-usb-tll: Move configuration code to omap_tll_init()
authorRoger Quadros <rogerq@ti.com>
Tue, 29 Jan 2013 13:00:03 +0000 (15:00 +0200)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 9 Apr 2013 07:46:23 +0000 (09:46 +0200)
commit9f4a3ece05a6c2f2dc5e4967602e9927addab97e
tree562d2e4d87906238d8e145466477f1263dd2211b
parent662e469e91d85438444703aa60dc35ac27b06773
mfd: omap-usb-tll: Move configuration code to omap_tll_init()

This is because we want to get rid of platform_data usage from probe().
The only information we need is PORT_MODE, and this can be supplied
to us by the user (i.e. omap-usb-host.c).

We also move channel clock management from runtime PM handlers into
omap_tll_enable/disable().

Signed-off-by: Roger Quadros <rogerq@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/omap-usb-host.c
drivers/mfd/omap-usb-tll.c
drivers/mfd/omap-usb.h