Skip to contentSkip to conversation

ACPI / amba: Remove CLK_IS_ROOT

PATCH Applied Stephen Boyd 3 participants 3 messages Apr 20, 2016 – May 4, 2016 ACPI

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ACPI / amba: 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 Graeme Gregory <[email protected]>
Cc Aleksey Makarov <[email protected]>
---
 drivers/acpi/acpi_amba.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/acpi/acpi_amba.c +1 -2
index 2a61b54ab968..7f77c071709a 100644
@@ -35,8 +35,7 @@ static void amba_register_dummy_clk(void)
 	if (amba_dummy_clk)
 		return;
 
-	amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
-						CLK_IS_ROOT, 0);
+	amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
 	clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
 }
 
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 15 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 Graeme Gregory <[email protected]>
Cc Aleksey Makarov <[email protected]>
---
 drivers/acpi/acpi_amba.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/acpi/acpi_amba.c +0 -0
index 2a61b54ab968..7f77c071709a 100644

drivers/acpi/acpi_amba.c static void amba_register_dummy_clk(void) · line 41

Quoted 9 lines
drivers/acpi/acpi_amba.c +1 -2
@@ -35,8 +35,7 @@ static void amba_register_dummy_clk(void)
        if (amba_dummy_clk)
                return;
 
-       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
-                                               CLK_IS_ROOT, 0);
+       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
        clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
 }
 

Looks good to me.

#2 lore raw
Quoted 27 lines · G Gregory
Quoted 15 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 Graeme Gregory <[email protected]>
Cc Aleksey Makarov <[email protected]>
---
 drivers/acpi/acpi_amba.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/acpi/acpi_amba.c +0 -0
index 2a61b54ab968..7f77c071709a 100644

drivers/acpi/acpi_amba.c static void amba_register_dummy_clk(void) · line 41

Quoted 9 lines
drivers/acpi/acpi_amba.c +1 -2
@@ -35,8 +35,7 @@ static void amba_register_dummy_clk(void)
        if (amba_dummy_clk)
                return;
 
-       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL,
-                                               CLK_IS_ROOT, 0);
+       amba_dummy_clk = clk_register_fixed_rate(NULL, "apb_pclk", NULL, 0, 0);
        clk_register_clkdev(amba_dummy_clk, "apb_pclk", NULL);
 }
 

Looks good to me.

Quoted 1 line

Applied, thanks!