Skip to content
Snippets Groups Projects
Commit 276dac80 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (tmp421) Convert to use devm_hwmon_device_register_with_groups


Use devm_hwmon_device_register_with_groups API to attach attributes
to hwmon device, simplify code, and reduce code size.

Reviewed-by: default avatarJean Delvare <jdelvare@suse.de>
Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent ad9beea4
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment