2016-04-20 01:12:23

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH] rtc: pcf8563: 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: Heiko Schocher <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
---
drivers/rtc/rtc-pcf8563.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
index d5e6ed96b748..b9ddbb001283 100644
--- a/drivers/rtc/rtc-pcf8563.c
+++ b/drivers/rtc/rtc-pcf8563.c
@@ -533,7 +533,7 @@ static struct clk *pcf8563_clkout_register_clk(struct pcf8563 *pcf8563)

init.name = "pcf8563-clkout";
init.ops = &pcf8563_clkout_ops;
- init.flags = CLK_IS_ROOT;
+ init.flags = 0;
init.parent_names = NULL;
init.num_parents = 0;
pcf8563->clkout_hw.init = &init;
--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


2016-04-20 05:09:09

by Heiko Schocher

[permalink] [raw]
Subject: Re: [PATCH] rtc: pcf8563: Remove CLK_IS_ROOT

Hello Stephen,

Am 20.04.2016 um 03:12 schrieb Stephen Boyd:
> This flag is a no-op now (see commit 47b0eeb3dc8a "clk: Deprecate
> CLK_IS_ROOT", 2016-02-02) so remove it.
>
> Cc: Heiko Schocher <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>
> ---
> drivers/rtc/rtc-pcf8563.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)

Acked-by: Heiko Schocher <[email protected]>

bye,
Heiko
>
> diff --git a/drivers/rtc/rtc-pcf8563.c b/drivers/rtc/rtc-pcf8563.c
> index d5e6ed96b748..b9ddbb001283 100644
> --- a/drivers/rtc/rtc-pcf8563.c
> +++ b/drivers/rtc/rtc-pcf8563.c
> @@ -533,7 +533,7 @@ static struct clk *pcf8563_clkout_register_clk(struct pcf8563 *pcf8563)
>
> init.name = "pcf8563-clkout";
> init.ops = &pcf8563_clkout_ops;
> - init.flags = CLK_IS_ROOT;
> + init.flags = 0;
> init.parent_names = NULL;
> init.num_parents = 0;
> pcf8563->clkout_hw.init = &init;
>

--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany

2016-04-20 08:00:14

by Alexandre Belloni

[permalink] [raw]
Subject: Re: [PATCH] rtc: pcf8563: Remove CLK_IS_ROOT

On 19/04/2016 at 18:12:19 -0700, 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: Heiko Schocher <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>
> ---
> drivers/rtc/rtc-pcf8563.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
Applied, thanks.

--
Alexandre Belloni, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com