diff options
author | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-02-28 02:04:22 +0300 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2024-03-01 00:15:47 +0300 |
commit | 434c9d03ea0db6bb8b1aebb6950781a0496028dd (patch) | |
tree | e5f93655f38317fe725097733e232e72053ad7b8 /drivers/rtc/rtc-isl1208.c | |
parent | 6529ab38c8a57debc58dea483711b4bfec0c7b98 (diff) | |
download | linux-434c9d03ea0db6bb8b1aebb6950781a0496028dd.tar.xz |
rtc: ds1511: remove ds1511_rtc_update_alarm
ds1511_rtc_update_alarm is called twice but one of the call is overkill as
it only has to enable or disable the alarm instead of updating all the alarm
registers. Merge it in its main call site and introduce a new finction to
enable or disable the alarm.
Link: https://lore.kernel.org/r/20240227230431.1837717-7-alexandre.belloni@bootlin.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'drivers/rtc/rtc-isl1208.c')
0 files changed, 0 insertions, 0 deletions