]> git.baikalelectronics.ru Git - kernel.git/commit
clk: Deprecate CLK_IS_ROOT
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 3 Feb 2016 01:24:56 +0000 (17:24 -0800)
committerStephen Boyd <sboyd@codeaurora.org>
Sun, 7 Feb 2016 07:38:26 +0000 (23:38 -0800)
commita2287edcf07f495f745573ede6185839178cc24c
treea5b668fa3192466735e8089403db6381a0ec742e
parent4784f8205380cfb1006bc2cd387b1237d674302c
clk: Deprecate CLK_IS_ROOT

We don't use CLK_IS_ROOT but in a few places in the common clk
framework core. Let's replace those checks with a check for the
number of parents a clk has instead of the flag, freeing up one
flag for something else. We don't remove the flag yet so that
things keep building, but we'll remove it once all drivers have
removed their flag usage.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
drivers/clk/clk.c
include/linux/clk-provider.h