From: Alexandre Belloni Date: Wed, 9 Mar 2022 16:22:36 +0000 (+0100) Subject: rtc: mpc5121: switch to RTC_FEATURE_UPDATE_INTERRUPT X-Git-Tag: v6.6.17~7831^2~31 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14e6fc13a979ef87aa269a4386854d4dcc2cc836;p=platform%2Fkernel%2Flinux-rpi.git rtc: mpc5121: switch to RTC_FEATURE_UPDATE_INTERRUPT Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead. Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/20220309162301.61679-5-alexandre.belloni@bootlin.com --- diff --git a/drivers/rtc/rtc-mpc5121.c b/drivers/rtc/rtc-mpc5121.c index 6bd9779..6d7656a 100644 --- a/drivers/rtc/rtc-mpc5121.c +++ b/drivers/rtc/rtc-mpc5121.c @@ -336,7 +336,7 @@ static int mpc5121_rtc_probe(struct platform_device *op) rtc->rtc->ops = &mpc5200_rtc_ops; set_bit(RTC_FEATURE_ALARM_RES_MINUTE, rtc->rtc->features); - rtc->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->rtc->features); rtc->rtc->range_min = RTC_TIMESTAMP_BEGIN_0000; rtc->rtc->range_max = 65733206399ULL; /* 4052-12-31 23:59:59 */