commit | f73cf632dfb43d6236210aa38038cc91fd053ff6 | [log] [tgz] |
---|---|---|
author | Guenter Roeck <linux@roeck-us.net> | Mon Mar 18 09:22:50 2013 -0700 |
committer | Guenter Roeck <linux@roeck-us.net> | Sun Aug 11 22:10:38 2013 -0700 |
tree | eed8d3ef9a61681a06568d6d73226449d72cadf2 | |
parent | 1c2faa22472fedf2c420041033700c700a1dfc96 [diff] |
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>