hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API

Use the devm_hwmon_device_register_with_info API and remove code that
deals with the standard sensor attributes.

Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Link: https://lore.kernel.org/r/20210826024121.15665-4-chris.packham@alliedtelesis.co.nz
[groeck: Fixed alignment issues]
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
This commit is contained in:
Chris Packham
2021-08-27 14:24:14 -07:00
committed by Guenter Roeck
parent ef67959c42
commit fc958a61ff
+286 -399
View File
File diff suppressed because it is too large Load Diff