[PATCH v7 4/5] clk: Add common __clk_get(), __clk_put() implementations

Russell King - ARM Linux linux at arm.linux.org.uk
Tue Oct 29 20:19:25 EDT 2013


On Tue, Oct 29, 2013 at 08:51:07PM +0100, Sylwester Nawrocki wrote:
> This patch adds common __clk_get(), __clk_put() clkdev helpers that
> replace their platform specific counterparts when the common clock
> API is used.
> 
> The owner module pointer field is added to struct clk so a reference
> to the clock supplier module can be taken by the clock consumers.
> 
> The owner module is assigned while the clock is being registered,
> in functions _clk_register() and __clk_register().
> 
> Signed-off-by: Sylwester Nawrocki <s.nawrocki at samsung.com>
> Signed-off-by: Kyungmin Park <kyungmin.park at samsung.com>

Acked-by: Russell King <rmk+kernel at arm.linux.org.uk>



More information about the linux-arm-kernel mailing list