Skip to content

Commit

Permalink
rtc: hym8563: switch to RTC_FEATURE_UPDATE_INTERRUPT
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Alexandre Belloni committed Mar 23, 2022
1 parent e6b7d19 commit 7e1df2f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/rtc/rtc-hym8563.c
Original file line number Diff line number Diff line change
Expand Up @@ -545,8 +545,7 @@ static int hym8563_probe(struct i2c_client *client,

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

#ifdef CONFIG_COMMON_CLK
hym8563_clkout_register_clk(hym8563);
Expand Down

0 comments on commit 7e1df2f

Please sign in to comment.