Skip to content

Commit

Permalink
hwmon: (adt7470) Convert to devm_hwmon_device_register_with_info API
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Chris Packham authored and Guenter Roeck committed Aug 27, 2021
1 parent ef67959 commit fc958a6
Showing 1 changed file with 284 additions and 397 deletions.
Loading

0 comments on commit fc958a6

Please sign in to comment.