Skip to content

Commit

Permalink
hwmon: (lm87) Get rid of macro-generated functions
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jean Delvare authored and Guenter Roeck committed Mar 19, 2012
1 parent 8652a26 commit 0e190b7
Showing 1 changed file with 164 additions and 193 deletions.
Loading

0 comments on commit 0e190b7

Please sign in to comment.