Messages in this thread | | | From | Chris Packham <> | Subject | [PATCH v2 0/4] hwmon: (adt7470) Clean up | Date | Thu, 26 Aug 2021 14:41:17 +1200 |
| |
This does some cleanup of the adt7470. The major benefit is the added error handling. The volume of code decreases a little but it's kind of a wash between the removal of attribute handling code vs the addition of code to drive the hwmon core.
Chris Packham (4): hwmon: (adt7470) Fix some style issues hwmon: (adt7470) Convert to use regmap hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API hwmon: (adt7470) Use standard update_interval property
drivers/hwmon/adt7470.c | 1133 +++++++++++++++++++-------------------- 1 file changed, 552 insertions(+), 581 deletions(-)
-- 2.32.0
| |