Skip to content

Commit 1a31d63

Browse files
rtc: remove uie_unsupported
uie_unsupported is not used by any drivers anymore, remove it. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220309162301.61679-29-alexandre.belloni@bootlin.com
1 parent ed90e3e commit 1a31d63

2 files changed

Lines changed: 0 additions & 5 deletions

File tree

drivers/rtc/class.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -399,9 +399,6 @@ int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc)
399399
if (!rtc->ops->set_alarm)
400400
clear_bit(RTC_FEATURE_ALARM, rtc->features);
401401

402-
if (rtc->uie_unsupported)
403-
clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features);
404-
405402
if (rtc->ops->set_offset)
406403
set_bit(RTC_FEATURE_CORRECTION, rtc->features);
407404

include/linux/rtc.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -110,8 +110,6 @@ struct rtc_device {
110110
struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */
111111
int pie_enabled;
112112
struct work_struct irqwork;
113-
/* Some hardware can't support UIE mode */
114-
int uie_unsupported;
115113

116114
/*
117115
* This offset specifies the update timing of the RTC.

0 commit comments

Comments
 (0)