]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit88af4f64b51b3afd61f191fbd005dadcb9a4bec5
tree74bca49dcadb969d45b42b8faa9948d0ea113d6e
parentf085b9b67406e2853e43c4a189561f2826ca34c0
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