rtc: hym8563: let the core handle the alarm resolution
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 9 Mar 2022 16:22:57 +0000 (17:22 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Mar 2022 18:58:40 +0000 (19:58 +0100)
commite6b7d19d393850452dbc2a10879f36cb25a24613
tree6f2e72e01d7220bc40939a1695abeef360e27979
parent07398602c84adf49a0b908313f85370792e8cc68
rtc: hym8563: let the core handle the alarm resolution

Set RTC_FEATURE_ALARM_RES_MINUTE, so the core knows alarms have a
resolution of a minute. Also, the core will properly round down the alarm
instead of up.

Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20220309162301.61679-26-alexandre.belloni@bootlin.com
drivers/rtc/rtc-hym8563.c