[PATCH v9 05/22] mfd: omap-usb-tll: Clean up clock handling
From: Russell King - ARM Linux <hidden>
Date: 2013-01-21 16:02:03
Also in:
lkml
From: Russell King - ARM Linux <hidden>
Date: 2013-01-21 16:02:03
Also in:
lkml
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 <redacted> Reviewed-by: Felipe Balbi <redacted>
Much better from the clk API usage, thanks. Acked-by: Russell King <redacted>