]> www.infradead.org Git - users/dwmw2/linux.git/commit
rtc: ds1307: stop disabling alarms on probe
authorAlexandre Belloni <alexandre.belloni@bootlin.com>
Mon, 3 Mar 2025 22:37:44 +0000 (23:37 +0100)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 6 Mar 2025 21:12:14 +0000 (22:12 +0100)
commitdcec12617ee61beed928e889607bf37e145bf86b
tree22803a6146f29396d74c1687cdd84b215bf94afb
parent0c57c2e72c5d9fb1b165eff65a6ff88511fd9a67
rtc: ds1307: stop disabling alarms on probe

It is a bad practice to disable alarms on probe or remove as this will
prevent alarms across reboots.

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