summaryrefslogtreecommitdiff
path: root/drivers/hwmon/ibmpex.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2013-03-18 16:22:50 (GMT)
committerGuenter Roeck <linux@roeck-us.net>2013-08-12 05:10:38 (GMT)
commitf73cf632dfb43d6236210aa38038cc91fd053ff6 (patch)
treeeed8d3ef9a61681a06568d6d73226449d72cadf2 /drivers/hwmon/ibmpex.c
parent1c2faa22472fedf2c420041033700c700a1dfc96 (diff)
downloadlinux-fsl-qoriq-f73cf632dfb43d6236210aa38038cc91fd053ff6.tar.xz
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/ibmpex.c')
0 files changed, 0 insertions, 0 deletions