2016-04-20 01:15:52

by Stephen Boyd

[permalink] [raw]
Subject: [PATCH] rtc: ds1307: 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: Akinobu Mita <[email protected]>
Cc: Michael Tatarinov <[email protected]>
Signed-off-by: Stephen Boyd <[email protected]>
---
drivers/rtc/rtc-ds1307.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/rtc/rtc-ds1307.c b/drivers/rtc/rtc-ds1307.c
index 043c307d85da..e99fd749e35e 100644
--- a/drivers/rtc/rtc-ds1307.c
+++ b/drivers/rtc/rtc-ds1307.c
@@ -1151,12 +1151,10 @@ static struct clk_init_data ds3231_clks_init[] = {
[DS3231_CLK_SQW] = {
.name = "ds3231_clk_sqw",
.ops = &ds3231_clk_sqw_ops,
- .flags = CLK_IS_ROOT,
},
[DS3231_CLK_32KHZ] = {
.name = "ds3231_clk_32khz",
.ops = &ds3231_clk_32khz_ops,
- .flags = CLK_IS_ROOT,
},
};

--
The Qualcomm Innovation Center, Inc. is a member of the Code Aurora Forum,
a Linux Foundation Collaborative Project


2016-04-20 08:00:42

by Alexandre Belloni

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

On 19/04/2016 at 18:15:48 -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: Akinobu Mita <[email protected]>
> Cc: Michael Tatarinov <[email protected]>
> Signed-off-by: Stephen Boyd <[email protected]>
> ---
> drivers/rtc/rtc-ds1307.c | 2 --
> 1 file changed, 2 deletions(-)
>
Applied, thanks.

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