commit | 0bde3e9fee74b668857b1664a70998d02807fb5b | [log] [tgz] |
---|---|---|
author | Roger Quadros <rogerq@ti.com> | Thu Nov 08 13:07:09 2012 +0200 |
committer | Roger Quadros <rogerq@ti.com> | Wed Feb 13 13:22:39 2013 +0200 |
tree | 77e948b1f22841e559be2e1c2d0cb6cdd392466d | |
parent | 1a7a8d70cddcf4f6847e42b414da1c3113675873 [diff] |
mfd: omap-usb-tll: Clean up clock handling Every channel has a functional clock that is similarly named. It makes sense to use a for loop to manage these clocks as OMAPs can come with up to 3 channels. Dynamically allocate and get channel clocks depending on the number of clocks avaiable on the platform. Signed-off-by: Roger Quadros <rogerq@ti.com> Reviewed-by: Felipe Balbi <balbi@ti.com> Acked-by: Russell King <rmk+kernel@arm.linux.org.uk>