aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/rtc/class.c
diff options
context:
space:
mode:
authorAlexandre Belloni <[email protected]>2022-03-09 16:23:00 +0000
committerAlexandre Belloni <[email protected]>2022-03-23 18:58:41 +0000
commit1a31d63632553a54af6c0c3c5b5930e931a94ee4 (patch)
tree4bb04f392c313c32e3068045cd6dda0ece19c193 /drivers/rtc/class.c
parentrtc: xgene: stop using uie_unsupported (diff)
downloadkernel-1a31d63632553a54af6c0c3c5b5930e931a94ee4.tar.gz
kernel-1a31d63632553a54af6c0c3c5b5930e931a94ee4.zip
rtc: remove uie_unsupported
uie_unsupported is not used by any drivers anymore, remove it. Signed-off-by: Alexandre Belloni <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/rtc/class.c')
-rw-r--r--drivers/rtc/class.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/rtc/class.c b/drivers/rtc/class.c
index 40d504dac1a9..3c8eec2218df 100644
--- a/drivers/rtc/class.c
+++ b/drivers/rtc/class.c
@@ -399,9 +399,6 @@ int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc)
if (!rtc->ops->set_alarm)
clear_bit(RTC_FEATURE_ALARM, rtc->features);
- if (rtc->uie_unsupported)
- clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features);
-
if (rtc->ops->set_offset)
set_bit(RTC_FEATURE_CORRECTION, rtc->features);