]> git.baikalelectronics.ru Git - kernel.git/commit
clk: fixed-factor: Add hw based registration APIs
authorStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 08:11:06 +0000 (00:11 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Tue, 19 Apr 2016 23:56:28 +0000 (16:56 -0700)
commitd5d3f3d9650fc839707d0cf4bf3179060270a733
tree10ffa8cd45a3d40af0b1dea5e1257930615d59c9
parent6bc6769d539ff78d33c99c49c631d81abb777c3f
clk: fixed-factor: Add hw based registration APIs

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