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

Skip to content
Commit 6bf44ced authored by Guenter Roeck's avatar Guenter Roeck
Browse files

hwmon: (max6697) Use is_visible and sysfs_create_group



Simplify the code and reduce its size by using is_visible to determine
valid attributes, and sysfs_create_group to create all of them with
a single call.

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