]> 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)
commitd28884492f991b31126e5f00e637f0a4b7ee6bbb
treea5b668fa3192466735e8089403db6381a0ec742e
parenta08b5e9a9d394c45493e1fd25d5d292f3eb3edab
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