linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] hwmon: (adt7470) Clean up
@ 2021-06-23  0:20 Chris Packham
  2021-06-23  0:20 ` [PATCH 1/2] hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API Chris Packham
  2021-06-23  0:20 ` [PATCH 2/2] hwmon: (adt7470) Use standard update_interval property Chris Packham
  0 siblings, 2 replies; 5+ messages in thread
From: Chris Packham @ 2021-06-23  0:20 UTC (permalink / raw)
  To: jdelvare, linux; +Cc: linux-hwmon, linux-kernel, Chris Packham

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


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-24 21:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-06-23  0:20 [PATCH 0/2] hwmon: (adt7470) Clean up Chris Packham
2021-06-23  0:20 ` [PATCH 1/2] hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API Chris Packham
2021-08-24 21:07   ` Guenter Roeck
2021-08-24 21:15     ` Chris Packham
2021-06-23  0:20 ` [PATCH 2/2] hwmon: (adt7470) Use standard update_interval property Chris Packham

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).