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

Skip to content
Commit 38c75dc3 authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (max16065) Convert to use devm_hwmon_device_register_with_groups



Modify code to use is_visible to determine if an attribute should be created
or not, then use devm_hwmon_device_register_with_groups to create the hwmon
device and all attributes in one operation.

Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
parent 8d373552
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