Skip to contentSkip to conversation

ARM: mv78xx0: Remove CLK_IS_ROOT

PATCH In review Stephen Boyd 3 participants 4 messages Apr 20, 2016 – Apr 27, 2016

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ARM: mv78xx0: Remove CLK_IS_ROOT

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Andrew Lunn <[email protected]>
Cc Jason Cooper <jason at lakedaemon.net
---
 arch/arm/mach-mv78xx0/common.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-mv78xx0/common.c +1 -2
index 99cc93900a24..45a05207b418 100644
@@ -168,8 +168,7 @@ static struct clk *tclk;
 
 static void __init clk_init(void)
 {
-	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
-				       get_tclk());
+	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk());
 
 	orion_clkdev_init(tclk);
 }
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Acked-by on v1 1/1
#1 lore raw
Quoted 7 lines · On Tuesday 19 April 2016 18:40:04 Stephen Boyd wrote:

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Andrew Lunn <[email protected]>
Cc Jason Cooper <[email protected]

Looks good, like all other instances in arch/arm.

If you want to merge these through your tree, please add my

to all of them, in addition to the other other Acks. I don't think there is a significant risk for regressions as they all tend to be "stable" in the sense that those files haven't been touched in a while.

Arnd

#2 lore raw
Quoted 11 lines · Arnd Bergmann
Quoted 7 lines · On Tuesday 19 April 2016 18:40:04 Stephen Boyd wrote:

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Andrew Lunn <[email protected]>
Cc Jason Cooper <[email protected]

Looks good, like all other instances in arch/arm.

Quoted 9 lines

If you want to merge these through your tree, please add my

to all of them, in addition to the other other Acks. I don't think there is a significant risk for regressions as they all tend to be "stable" in the sense that those files haven't been touched in a while.

Thanks. If Gregory doesn't pick them up I'll take care of it, but we're not in any hurry here.

Signature · 2 lines
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum,
a Linux Foundation Collaborative Project
#3 lore raw
In reply to Stephen Boyd

Hi Stephen,

Quoted 6 lines · Stephen Boyd

This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate CLK_IS_ROOT", 2016-02-02) so remove it.

Cc Andrew Lunn <[email protected]>
Cc Jason Cooper <[email protected]

Applied on mvebu/soc

(I fixed the email format for Jason: the closing angle bracket was missing)

Thanks,

Gregory

Quoted 22 lines
---
 arch/arm/mach-mv78xx0/common.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
arch/arm/mach-mv78xx0/common.c +1 -2
index 99cc93900a24..45a05207b418 100644
@@ -168,8 +168,7 @@ static struct clk *tclk;
 
 static void __init clk_init(void)
 {
-	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, CLK_IS_ROOT,
-				       get_tclk());
+	tclk = clk_register_fixed_rate(NULL, "tclk", NULL, 0, get_tclk());
 
 	orion_clkdev_init(tclk);
 }
Signature · 2 lines
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project
Signature · 4 lines
Gregory Clement, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com