[PATCH v4 0/3] rtc: s5m: driver improvements

From: Bartosz Golaszewski
Date: Mon Jan 11 2021 - 07:41:35 EST


From: Bartosz Golaszewski <bgolaszewski@xxxxxxxxxxxx>

Hopefully this time the kernel bot won't complain anymore...

This is a set of improvements for the rtc-s5m driver. The first patch
is new in v4: I noticed the I2C regmap is not selected by this driver's
Kconfig. Two subsequent patches were already submitted separately.

v1 -> v2:
- remove the remove() callback

v2 -> v3:
- fix an error pointed out by the build robot

v3 -> v4:
- add patch 1/3: ("rtc: s5m: select REGMAP_I2C")
- fix issues raised by the kernel bot

Bartosz Golaszewski (3):
rtc: s5m: select REGMAP_I2C
rtc: s5m: check the return value of s5m8767_rtc_init_reg()
rtc: s5m: use devm_i2c_new_dummy_device()

drivers/rtc/Kconfig | 1 +
drivers/rtc/rtc-s5m.c | 33 +++++++++------------------------
2 files changed, 10 insertions(+), 24 deletions(-)

--
2.29.1