[PATCH 0/6] rtc: isl12022: cleanups and hwmon support

From: Rasmus Villemoes
Date: Tue Aug 30 2022 - 06:04:52 EST


This series does a few cleanups of the isl12022 driver,

- removes use of deprecated function
- removes some redundant code
- switches to regmap API instead of private helpers

and finally hooks up the temperatur sensor to hwmon.

Rasmus Villemoes (6):
rtc: isl12022: stop using deprecated devm_rtc_device_register()
rtc: isl12022: simplify some expressions
rtc: isl12022: use dev_set_drvdata() instead of i2c_set_clientdata()
rtc: isl12022: drop redundant write to HR register
rtc: isl12022: switch to using regmap API
rtc: isl12022: add support for temperature sensor

drivers/rtc/Kconfig | 1 +
drivers/rtc/rtc-isl12022.c | 195 ++++++++++++++++++++-----------------
2 files changed, 107 insertions(+), 89 deletions(-)

--
2.37.2