]> git.ipfire.org Git - thirdparty/linux.git/commit
rtc: pcf85063: create pcf85063_i2c_probe
authorAntoni Pokusinski <apokusinski01@gmail.com>
Sun, 13 Apr 2025 13:07:54 +0000 (15:07 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Wed, 23 Jul 2025 16:52:08 +0000 (18:52 +0200)
commit29ac4cedb00e2df366418f768c70d0e2d60fd007
tree8be214570bd36e62745e46e3cac5df70940865af
parentb265cb1d68a9ab75cd0048cd604283a152fcf633
rtc: pcf85063: create pcf85063_i2c_probe

Move the i2c-specific code from pcf85063_probe to the newly created
function.

This is a preparation for introducing the support for RV8063 real-time
clock with SPI interface.

Signed-off-by: Antoni Pokusinski <apokusinski01@gmail.com>
Link: https://lore.kernel.org/r/20250413130755.159373-3-apokusinski01@gmail.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
drivers/rtc/rtc-pcf85063.c