[PATCH 0/8] rtc: rx8010: use regmap instead of i2c smbus API
From: Bartosz Golaszewski
Date: Fri Sep 04 2020 - 11:21:48 EST
From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>
I want to use this driver on a platform where the i2c controller doesn't
speak SMBUS. This series converts the driver to i2c regmap which can
figure out the correct protocol to use.
First 7 patches are just cleanups and some refactoring. The actual
conversion happens in patch 8.
Bartosz Golaszewski (8):
rtc: rx8010: remove unnecessary parentheses
rtc: rx8010: consolidate local variables of the same type
rtc: rx8010: use tabs for instead of spaces for code formatting
rtc: rx8010: rename ret to err in rx8010_set_time()
rtc: rx8010: don't use magic values for time buffer length
rtc: rx8010: drop unnecessary initialization
rtc: rx8010: fix indentation in probe()
rtc: rx8010: convert to using regmap
drivers/rtc/rtc-rx8010.c | 284 +++++++++++++++++----------------------
1 file changed, 120 insertions(+), 164 deletions(-)
--
2.26.1