clk: divider: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 07:26:37 +0000 (23:26 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:55:01 +0000 (16:55 -0700)
commiteb7d264f3bf9ca7c093efb77bdde557c6c6e826f
treefbb4b5d78d012a2959a481cb738a329f3b4418d9
parente4f1b49bda6d6aa2e13730ff7eeccbe65a6271f1
clk: divider: Add hw based registration APIs

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