]> git.baikalelectronics.ru Git - kernel.git/commit
clk: fractional-divider: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 08:15:09 +0000 (00:15 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:56:28 +0000 (16:56 -0700)
commitf085b9b67406e2853e43c4a189561f2826ca34c0
tree1dc6dfe30c84586254c4fb25bcdb63ae04490838
parentd5d3f3d9650fc839707d0cf4bf3179060270a733
clk: fractional-divider: Add hw based registration APIs

Add registration APIs in the clk fractional divider code to
return struct clk_hw pointers instead of struct clk pointers.
This way we hide the struct clk pointer from providers unless
they need to use consumer facing APIs.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk-fractional-divider.c
include/linux/clk-provider.h