summaryrefslogtreecommitdiffstats
path: root/net/bluetooth
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 /net/bluetooth
parent1c2faa22472fedf2c420041033700c700a1dfc96 (diff)
downloadtalos-op-linux-f73cf632dfb43d6236210aa38038cc91fd053ff6.tar.gz
talos-op-linux-f73cf632dfb43d6236210aa38038cc91fd053ff6.zip
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 'net/bluetooth')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud