rtc: ds1511: set alarm offset limit
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 27 Feb 2024 23:13:55 +0000 (00:13 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 29 Feb 2024 21:16:52 +0000 (22:16 +0100)
commit50891bd19f1ec23fa8cefbabc1f0e55d94925933
tree9a8f2ffdf4339215bf5cbc4cfb6c489c49cb7402
parente40512a4f5cbfbbe034efc2d556283a470f97bf5
rtc: ds1511: set alarm offset limit

The ds1511 can only support alarms up to a month in the future (which we
currently limit to 28 days).

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