]> git.baikalelectronics.ru Git - kernel.git/commit
rtc: rx8010: convert to using regmap
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Mon, 14 Sep 2020 15:46:00 +0000 (17:46 +0200)
committerAlexandre Belloni <alexandre.belloni@bootlin.com>
Tue, 15 Sep 2020 08:50:38 +0000 (10:50 +0200)
commit979eebc86bca7e8b9ae608c4ed42fa9c76318893
treee91da64b952d214dbd5f60398422c7924551de8b
parentcf2307ded4f178692dee2a9ac644d54c925f623a
rtc: rx8010: convert to using regmap

This driver requires SMBUS to work. We can relax this requirement if we
switch to using i2c regmap and let the regmap sub-system figure out how
to talk to the bus.

This also has the advantage of shrinking the code for register updates.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Link: https://lore.kernel.org/r/20200914154601.32245-14-brgl@bgdev.pl
drivers/rtc/rtc-rx8010.c