]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
rtc: isl12022: Prepare for extending rtc device drvdata
authorEsben Haabendal <esben@geanix.com>
Fri, 13 Sep 2024 10:29:12 +0000 (12:29 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Sun, 10 Nov 2024 23:06:46 +0000 (00:06 +0100)
commitd4a6161f242b70dde08a631b16ca3671aa1b2ed2
tree714d58d45c6669828886fcf86c47c1a2999c22c8
parent49fd6f907f4623fa029a24b21f667b99594438bd
rtc: isl12022: Prepare for extending rtc device drvdata

Add a struct to hold the regmap pointer, so more information can be added.

This is morally a revert of commit f525b210e9d4 ("rtc: isl12022: Get rid of
unneeded private struct isl12022").

Acked-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Signed-off-by: Esben Haabendal <esben@geanix.com>
Link: https://lore.kernel.org/r/20240913-rtc-isl12022-alarm-irq-v2-1-37309d939723@geanix.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-isl12022.c