diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-02-28 02:04:25 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-03-01 00:15:47 +0300 |
commit | 418501fd53f178eaa3e737804fc1e88e5f04343c (patch) | |
tree | cbc64695b545443010748d7f6f2f167256d04747 /drivers/rtc/rtc-ds1553.c | |
parent | d949f040a0dc54ad76aa1f84391a62077dea096c (diff) | |
download | linux-418501fd53f178eaa3e737804fc1e88e5f04343c.tar.xz |
rtc: ds1511: implement ds1511_rtc_read_alarm properly
ds1511_rtc_read_alarm was useless as it is only called at boot time so
the alarm members of pdata have not yet been set. Read the actual registers
so there is a chance to get a meaningful value.
Then, drop the alarm related members of pdata as they are not used anymore.
Link: https://lore.kernel.org/r/20240227230431.1837717-10-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-ds1553.c')
0 files changed, 0 insertions, 0 deletions