[PATCH v2 0/4] hwmon: (adt7470) Clean up

Chris Packham
2021-08-26T02:41:50Z

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