rtc: spear: drop uie_unsupported
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:51 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:40 +0000 (19:58 +0100)
Since commitc9f5c7e7a84f ("rtc: rtc-spear: Provide flag for no support of
UIE mode") which was in 2012, the core changed a lot and UIE are now
supported using regular alarms. Drop uie_unsupported now to reflect that.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Link: https://lore.kernel.org/r/20220309162301.61679-20-alexandre.belloni@bootlin.com
drivers/rtc/rtc-spear.c

index e386bd714b52653eca878e6febf92c7cf226f3e7..c395af3ebc91bc8a0a37ea6ec0e303f0bafd152c 100644 (file)
@@ -387,7 +387,6 @@ static int spear_rtc_probe(struct platform_device *pdev)
        config->rtc->ops = &spear_rtc_ops;
        config->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000;
        config->rtc->range_min = RTC_TIMESTAMP_END_9999;
-       config->rtc->uie_unsupported = 1;
 
        status = devm_rtc_register_device(config->rtc);
        if (status)