OSDN Git Service

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)
commit47b0eeb3dc8a01848ad62908000b1051d1833eaf
treea5b668fa3192466735e8089403db6381a0ec742e
parent14b04f28a0a1a5903221fc55c61d231b76abd440
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