Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 9e37d3e2 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (lm75) Handle cleanup with devm_add_action



Use devm_add_action() to register the function to restore the original
chip configuration. Use devm_hwmon_device_register_with_groups()
to register the hwmon device, and drop the remove function as no
longer needed.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent eacc48ce
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment