clk: gpio: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 08:27:55 +0000 (00:27 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:56:28 +0000 (16:56 -0700)
commitb120743a64a3ec68b8c5310a6009094329b4a33b
tree35603a4df0e4a6a699b19c5eb3a3558ffa04590a
parent49cb392d36397a296dcd51ec57cf83585a89a94a
clk: gpio: Add hw based registration APIs

Add registration APIs in the clk gpio 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-gpio.c
include/linux/clk-provider.h