[PATCH] Consolidate clks_register() and similar

Kevin Hilman khilman at deeprootsystems.com
Mon Jan 11 17:06:08 EST 2010


Russell King - ARM Linux <linux at arm.linux.org.uk> writes:

> Most machine classes want some way to register a block of clk_lookup
> structures, and most do it by implementing a clks_register() type
> function which walks an array, or by open-coding a loop.
>
> Consolidate all this into clkdev_add_table().
>
> Signed-off-by: Russell King <rmk+kernel at arm.linux.org.uk>

Reviewed-by: Kevin Hilman <khilman at deeprootsystems.com>

Are you planning this for 2.6.33-rc?  or 2.6.34?

> ---
> This misses out Davinci, which needs cleaning up to remove its
> seemingly redundant wrapping of the clk_lookup structure.

This should take care of davinci.  Tested on v2.6.33-rc3 + $SUBJECT patch.



More information about the linux-arm-kernel mailing list