summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/lm80.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2012-01-26 18:38:26 +0100
committerGuenter Roeck <guenter.roeck@ericsson.com>2012-03-19 02:27:42 +0100
commit0e190b7fa330f19afed9e12d551432b8659886c7 (patch)
treea28e5c4dfddd244d62543d082b263ee39bfe85db /drivers/hwmon/lm80.c
parenthwmon: (lm87) Reorganize the code (diff)
downloadlinux-0e190b7fa330f19afed9e12d551432b8659886c7.tar.xz
linux-0e190b7fa330f19afed9e12d551432b8659886c7.zip
hwmon: (lm87) Get rid of macro-generated functions
Use SENSORS_DEVICE_ATTR instead of DEVICE_ATTR for most attributes, so that the attribute number can be retrieved and it is no longer necessary to generate functions using macros. This shaves about 2 kB on the binary module size. Signed-off-by: Jean Delvare <khali@linux-fr.org> Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Diffstat (limited to 'drivers/hwmon/lm80.c')
0 files changed, 0 insertions, 0 deletions