diff options
author | Roger Quadros <rogerq@ti.com> | 2012-11-08 12:07:09 +0100 |
---|---|---|
committer | Roger Quadros <rogerq@ti.com> | 2013-02-13 12:22:39 +0100 |
commit | 0bde3e9fee74b668857b1664a70998d02807fb5b (patch) | |
tree | 77e948b1f22841e559be2e1c2d0cb6cdd392466d /drivers/tty/n_tracesink.h | |
parent | mfd: omap-usb-tll: Use devm_kzalloc/ioremap and clean up error path (diff) | |
download | linux-0bde3e9fee74b668857b1664a70998d02807fb5b.tar.xz linux-0bde3e9fee74b668857b1664a70998d02807fb5b.zip |
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/tty/n_tracesink.h')
0 files changed, 0 insertions, 0 deletions