clk: bcm: Remove CLK_IS_ROOT
This flag is a no-op now. Remove usage of the flag. Cc: Lee Jones <lee@kernel.org> Reviewed-by: Eric Anholt <eric@anholt.net> Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
This commit is contained in:
parent
5788923b27
commit
bd41aa6773
|
@ -324,21 +324,18 @@ void __init bcm2835_init_clocks(void)
|
||||||
struct clk *clk;
|
struct clk *clk;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, CLK_IS_ROOT,
|
clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 126000000);
|
||||||
126000000);
|
|
||||||
if (IS_ERR(clk))
|
if (IS_ERR(clk))
|
||||||
pr_err("apb_pclk not registered\n");
|
pr_err("apb_pclk not registered\n");
|
||||||
|
|
||||||
clk = clk_register_fixed_rate(NULL, "uart0_pclk", NULL, CLK_IS_ROOT,
|
clk = clk_register_fixed_rate(NULL, "uart0_pclk", NULL, 0, 3000000);
|
||||||
3000000);
|
|
||||||
if (IS_ERR(clk))
|
if (IS_ERR(clk))
|
||||||
pr_err("uart0_pclk not registered\n");
|
pr_err("uart0_pclk not registered\n");
|
||||||
ret = clk_register_clkdev(clk, NULL, "20201000.uart");
|
ret = clk_register_clkdev(clk, NULL, "20201000.uart");
|
||||||
if (ret)
|
if (ret)
|
||||||
pr_err("uart0_pclk alias not registered\n");
|
pr_err("uart0_pclk alias not registered\n");
|
||||||
|
|
||||||
clk = clk_register_fixed_rate(NULL, "uart1_pclk", NULL, CLK_IS_ROOT,
|
clk = clk_register_fixed_rate(NULL, "uart1_pclk", NULL, 0, 125000000);
|
||||||
125000000);
|
|
||||||
if (IS_ERR(clk))
|
if (IS_ERR(clk))
|
||||||
pr_err("uart1_pclk not registered\n");
|
pr_err("uart1_pclk not registered\n");
|
||||||
ret = clk_register_clkdev(clk, NULL, "20215000.uart");
|
ret = clk_register_clkdev(clk, NULL, "20215000.uart");
|
||||||
|
|
Loading…
Reference in New Issue