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

Reply via email to