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)
commit39b44cff4ad4af6d7abd9dd2acb288b005c26503
tree1dc6dfe30c84586254c4fb25bcdb63ae04490838
parent0759ac8a73dc2c8cc8ac697fbe5dbd8d67348d37
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