diff options
author | Roger Quadros <rogerq@ti.com> | 2012-11-08 13:07:09 +0200 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2013-02-13 13:22:39 +0200 |
commit | 0bde3e9fee74b668857b1664a70998d02807fb5b (patch) | |
tree | 77e948b1f22841e559be2e1c2d0cb6cdd392466d /drivers/mfd/rtsx_pcr.c | |
parent | 1a7a8d70cddcf4f6847e42b414da1c3113675873 (diff) | |
download | op-kernel-dev-0bde3e9fee74b668857b1664a70998d02807fb5b.zip op-kernel-dev-0bde3e9fee74b668857b1664a70998d02807fb5b.tar.gz |
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>
Diffstat (limited to 'drivers/mfd/rtsx_pcr.c')
0 files changed, 0 insertions, 0 deletions