hwmon: (lm87) Get rid of macro-generated functions
authorJean Delvare <khali@linux-fr.org>
Thu, 26 Jan 2012 17:38:26 +0000 (09:38 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Mon, 19 Mar 2012 01:27:42 +0000 (18:27 -0700)
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>

No differences found