Skip to content

Commit 7e1df2f

Browse files
rtc: hym8563: switch to RTC_FEATURE_UPDATE_INTERRUPT
Stop using uie_unsupported and clear RTC_FEATURE_UPDATE_INTERRUPT instead. Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com> Link: https://lore.kernel.org/r/20220309162301.61679-27-alexandre.belloni@bootlin.com
1 parent e6b7d19 commit 7e1df2f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/rtc/rtc-hym8563.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -545,8 +545,7 @@ static int hym8563_probe(struct i2c_client *client,
545545

546546
hym8563->rtc->ops = &hym8563_rtc_ops;
547547
set_bit(RTC_FEATURE_ALARM_RES_MINUTE, hym8563->rtc->features);
548-
/* the hym8563 alarm only supports a minute accuracy */
549-
hym8563->rtc->uie_unsupported = 1;
548+
clear_bit(RTC_FEATURE_UPDATE_INTERRUPT, hym8563->rtc->features);
550549

551550
#ifdef CONFIG_COMMON_CLK
552551
hym8563_clkout_register_clk(hym8563);

0 commit comments

Comments
 (0)