1
0
Fork 0

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: Guenter Roeck <linux@roeck-us.net>
hifive-unleashed-5.1
Guenter Roeck 2013-03-18 09:22:50 -07:00
parent 1c2faa2247
commit f73cf632df
1 changed files with 511 additions and 1107 deletions

File diff suppressed because it is too large Load Diff