mirror of
https://github.com/t2linux/kernel.git
synced 2026-08-16 05:22:11 -07:00
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:
committed by
Guenter Roeck
parent
ef67959c42
commit
fc958a61ff
+286
-399
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user