Skip to content

Commit

Permalink
hwmon: (nct6775) Allocate attributes dynamically from templates
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Guenter Roeck committed Aug 12, 2013
1 parent 1c2faa2 commit f73cf63
Showing 1 changed file with 507 additions and 1,103 deletions.
Loading

0 comments on commit f73cf63

Please sign in to comment.