summaryrefslogtreecommitdiff
path: root/drivers/hwmon/f71882fg.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-18 09:22:50 -0700
committerGuenter Roeck <linux@roeck-us.net>2013-08-11 22:10:38 -0700
commitf73cf632dfb43d6236210aa38038cc91fd053ff6 (patch)
treeeed8d3ef9a61681a06568d6d73226449d72cadf2 /drivers/hwmon/f71882fg.c
parent1c2faa22472fedf2c420041033700c700a1dfc96 (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>
Diffstat (limited to 'drivers/hwmon/f71882fg.c')
0 files changed, 0 insertions, 0 deletions