diff options
author | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-01 22:00:05 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@codeaurora.org> | 2016-03-16 01:19:21 +0300 |
commit | ac82a8b5073631940b989c973f77fbaddd2526d0 (patch) | |
tree | 6f1f0879a1bebaa2ce181d4fd61f0e4ab1cae2af /drivers/clk/versatile/clk-realview.c | |
parent | 1295e36a488efdad9b21eb0aeabfd0b23a87a313 (diff) | |
download | linux-ac82a8b5073631940b989c973f77fbaddd2526d0.tar.xz |
clk: versatile: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag.
Cc: Pawel Moll <pawel.moll@arm.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Diffstat (limited to 'drivers/clk/versatile/clk-realview.c')
-rw-r--r-- | drivers/clk/versatile/clk-realview.c | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/drivers/clk/versatile/clk-realview.c b/drivers/clk/versatile/clk-realview.c index bd4dd2463e23..c56efc70ac16 100644 --- a/drivers/clk/versatile/clk-realview.c +++ b/drivers/clk/versatile/clk-realview.c @@ -56,12 +56,11 @@ void __init realview_clk_init(void __iomem *sysbase, bool is_pb1176) struct clk *clk; /* APB clock dummy */ - clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, CLK_IS_ROOT, 0); + clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0); clk_register_clkdev(clk, "apb_pclk", NULL); /* 24 MHz clock */ - clk = clk_register_fixed_rate(NULL, "clk24mhz", NULL, CLK_IS_ROOT, - 24000000); + clk = clk_register_fixed_rate(NULL, "clk24mhz", NULL, 0, 24000000); clk_register_clkdev(clk, NULL, "dev:uart0"); clk_register_clkdev(clk, NULL, "dev:uart1"); clk_register_clkdev(clk, NULL, "dev:uart2"); @@ -81,8 +80,7 @@ void __init realview_clk_init(void __iomem *sysbase, bool is_pb1176) /* 1 MHz clock */ - clk = clk_register_fixed_rate(NULL, "clk1mhz", NULL, CLK_IS_ROOT, - 1000000); + clk = clk_register_fixed_rate(NULL, "clk1mhz", NULL, 0, 1000000); clk_register_clkdev(clk, NULL, "sp804"); /* ICST VCO clock */ |