]> git.karo-electronics.de Git - linux-beck.git/commit
clk: gate: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 07:54:45 +0000 (23:54 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:55:01 +0000 (16:55 -0700)
commite270d8cb13763f58107198e879cf396511ba2867
treeb47412142786851dd9c3d348982e6cf1755baffd
parenteb7d264f3bf9ca7c093efb77bdde557c6c6e826f
clk: gate: Add hw based registration APIs

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