commit | 0e190b7fa330f19afed9e12d551432b8659886c7 | [log] [tgz] |
---|---|---|
author | Jean Delvare <khali@linux-fr.org> | Thu Jan 26 09:38:26 2012 -0800 |
committer | Guenter Roeck <guenter.roeck@ericsson.com> | Sun Mar 18 18:27:42 2012 -0700 |
tree | a28e5c4dfddd244d62543d082b263ee39bfe85db | |
parent | 8652a2642ce70074d3ef9bd2b565e62e851b0070 [diff] |
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>