On Thu, 2012-01-26 at 09:43 -0500, Jean Delvare wrote: > 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@xxxxxxxxxxxx> > --- > Tested on an emulated LM87 chip. > > drivers/hwmon/lm87.c | 350 ++++++++++++++++++++++---------------------------- > 1 file changed, 160 insertions(+), 190 deletions(-) Nice cleanup. Applied. Thanks, Guenter _______________________________________________ lm-sensors mailing list lm-sensors@xxxxxxxxxxxxxx http://lists.lm-sensors.org/mailman/listinfo/lm-sensors