clk: composite: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 08:20:31 +0000 (00:20 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:56:28 +0000 (16:56 -0700)
commit49cb392d36397a296dcd51ec57cf83585a89a94a
tree74bca49dcadb969d45b42b8faa9948d0ea113d6e
parent39b44cff4ad4af6d7abd9dd2acb288b005c26503
clk: composite: Add hw based registration APIs

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