Commit fc958a61 authored by Chris Packham's avatar Chris Packham Committed by Guenter Roeck

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: default avatarChris 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: default avatarGuenter Roeck <linux@roeck-us.net>
parent ef67959c
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment