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

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

hwmon: (nct6775) Allocate attributes dynamically from templates



Static attribute allocation is large and very repetitive.
Allocate attributes and attribute groups dynamically instead.
This reduces the size of the driver source by more than 600 lines,
and object size by more than 20k (more than 30%).

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