mbox series

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

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

Message

Chris Packham Aug. 26, 2021, 2:41 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 (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(-)