lkml.org 
[lkml]   [2022]   [Aug]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/6] rtc: isl12022: cleanups and hwmon support
Date
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

\
 
 \ /
  Last update: 2022-08-30 12:05    [W:0.221 / U:0.392 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site