diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-11-08 01:54:49 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2021-11-10 02:45:57 +0300 |
commit | 24370014011f8df7a098a83a453204b1f05fd1d2 (patch) | |
tree | 4e6bebfebbe10462fb84deec0973e4ba2cec27cc /drivers | |
parent | ac86964ff9791f8da27b321772db85369ec59506 (diff) | |
download | linux-24370014011f8df7a098a83a453204b1f05fd1d2.tar.xz |
rtc: ab-eoz9: use RTC_FEATURE_UPDATE_INTERRUPT
Switch from uie_unsupported to RTC_FEATURE_UPDATE_INTERRUPT
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20211107225458.111068-4-alexandre.belloni@bootlin.com
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/rtc/rtc-ab-eoz9.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/rtc/rtc-ab-eoz9.c b/drivers/rtc/rtc-ab-eoz9.c index a9b355510cd4..50ead6fce880 100644 --- a/drivers/rtc/rtc-ab-eoz9.c +++ b/drivers/rtc/rtc-ab-eoz9.c @@ -534,7 +534,7 @@ static int abeoz9_probe(struct i2c_client *client, data->rtc->ops = &rtc_ops; data->rtc->range_min = RTC_TIMESTAMP_BEGIN_2000; data->rtc->range_max = RTC_TIMESTAMP_END_2099; - data->rtc->uie_unsupported = 1; + clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, data->rtc->features); clear_bit(RTC_FEATURE_ALARM, data->rtc->features); if (client->irq > 0) { |