mbox series

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

Message ID 20210623002058.3133-1-chris.packham@alliedtelesis.co.nz (mailing list archive)
Headers show
Series hwmon: (adt7470) Clean up | expand

Message

Chris Packham June 23, 2021, 12:20 a.m. UTC
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(-)