From: Jean Delvare Date: Thu, 26 Jan 2012 17:38:26 +0000 (-0800) Subject: hwmon: (lm87) Get rid of macro-generated functions X-Git-Tag: v3.4-rc1~167^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e190b7fa330f19afed9e12d551432b8659886c7;p=pandora-kernel.git 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 Signed-off-by: Guenter Roeck --- Reading git-diff-tree failed