From: Sylwester Nawrocki Date: Sat, 24 Aug 2013 18:10:41 +0000 (+0200) Subject: clk: Add common __clk_get(), __clk_put() implementations X-Git-Tag: v3.14-rc1~109^2~27^2^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ac2df527fb407b61f9c812a99035b62a75a77d6d;p=pandora-kernel.git clk: Add common __clk_get(), __clk_put() implementations 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 Signed-off-by: Kyungmin Park Acked-by: Russell King --- Reading git-diff-tree failed