OSDN Git Service

rtc: pcf2127: adapt for alarm registers at any offset
authorHugo Villeneuve <hvilleneuve@dimonoff.com>
Thu, 22 Jun 2023 14:57:50 +0000 (10:57 -0400)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Thu, 27 Jul 2023 20:54:52 +0000 (22:54 +0200)
commit7c6f0db41ab5fbd7ee3a2f9880ac23509a5d55d1
tree4e0749da54a9aab0f7c9cdc73dffd3171057f1f8
parent6211acee8edf4af61f7745a92c4b4cb05a4340f9
rtc: pcf2127: adapt for alarm registers at any offset

This will simplify the implementation of new variants into this driver.

Signed-off-by: Hugo Villeneuve <hvilleneuve@dimonoff.com>
Link: https://lore.kernel.org/r/20230622145800.2442116-8-hugo@hugovil.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf2127.c