[PATCH v9 05/22] mfd: omap-usb-tll: Clean up clock handling
Russell King - ARM Linux
linux at arm.linux.org.uk
Mon Jan 21 11:01:33 EST 2013
On Mon, Jan 21, 2013 at 01:04:46PM +0200, Roger Quadros wrote:
> 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 at ti.com>
> Reviewed-by: Felipe Balbi <balbi at ti.com>
Much better from the clk API usage, thanks.
Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>
More information about the linux-arm-kernel
mailing list