Commit 1a31d636 authored by Alexandre Belloni's avatar Alexandre Belloni

rtc: remove uie_unsupported

uie_unsupported is not used by any drivers anymore, remove it.
Signed-off-by: default avatarAlexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-29-alexandre.belloni@bootlin.com
parent ed90e3e2
...@@ -399,9 +399,6 @@ int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc) ...@@ -399,9 +399,6 @@ int __devm_rtc_register_device(struct module *owner, struct rtc_device *rtc)
if (!rtc->ops->set_alarm) if (!rtc->ops->set_alarm)
clear_bit(RTC_FEATURE_ALARM, rtc->features); clear_bit(RTC_FEATURE_ALARM, rtc->features);
if (rtc->uie_unsupported)
clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, rtc->features);
if (rtc->ops->set_offset) if (rtc->ops->set_offset)
set_bit(RTC_FEATURE_CORRECTION, rtc->features); set_bit(RTC_FEATURE_CORRECTION, rtc->features);
......
...@@ -110,8 +110,6 @@ struct rtc_device { ...@@ -110,8 +110,6 @@ struct rtc_device {
struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */ struct hrtimer pie_timer; /* sub second exp, so needs hrtimer */
int pie_enabled; int pie_enabled;
struct work_struct irqwork; struct work_struct irqwork;
/* Some hardware can't support UIE mode */
int uie_unsupported;
/* /*
* This offset specifies the update timing of the RTC. * This offset specifies the update timing of the RTC.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment