mfd: omap-usb-host: cleanup clock management code
authorRoger Quadros <rogerq@ti.com>
Thu, 8 Nov 2012 15:40:25 +0000 (17:40 +0200)
committerRoger Quadros <rogerq@ti.com>
Wed, 13 Feb 2013 11:22:50 +0000 (13:22 +0200)
All ports have similarly named port clocks so we can
bunch them into a port data structure and use for loop
to enable/disable the clocks.

Dynamically allocate and get clocks based on number of ports
available on the platform

Signed-off-by: Roger Quadros <rogerq@ti.com>
Reviewed-by: Felipe Balbi <balbi@ti.com>

No differences found