[PATCH v5 3/5] clk: Add common __clk_get(), __clk_put() implementations

2013-08-24 Thread Sylwester Nawrocki
This patch adds common __clk_get(), __clk_put() clkdev helpers which replace their platform specific counterparts when the common clock API is enabled. 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.

[PATCH v5 3/5] clk: Add common __clk_get(), __clk_put() implementations

2013-08-24 Thread Sylwester Nawrocki
This patch adds common __clk_get(), __clk_put() clkdev helpers which replace their platform specific counterparts when the common clock API is enabled. 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.