clk: mux: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 08:05:48 +0000 (00:05 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:55:01 +0000 (16:55 -0700)
commit264b31719735eb1fcbed47cecdb20f517e804856
tree717ba0c609fdefaf5adf56e3ff4ca57cbfa9d882
parente270d8cb13763f58107198e879cf396511ba2867
clk: mux: Add hw based registration APIs

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