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

From: Chris Packham
Date: Tue Jun 22 2021 - 20:22:40 EST


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 (2):
hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API
hwmon: (adt7470) Use standard update_interval property

drivers/hwmon/adt7470.c | 1146 +++++++++++++++++++--------------------
1 file changed, 550 insertions(+), 596 deletions(-)

--
2.32.0