From: Guenter Roeck Date: Wed, 19 Dec 2012 21:17:01 +0000 (+0100) Subject: hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions X-Git-Tag: v3.8-rc1~35^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2cece01ffd622ab65a4f5a6704e3a74c1174d2fa;p=pandora-kernel.git hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions The macro name show_sensor_offset is confusing since it related to the sensor type, not an offset - even more so when we introduce offset attributes later on. Replace it with direct definitions, and replace the show_sensor/set_sensor function names with show_temp_type/set_temp_type. This also resolves a checkpatch error. Signed-off-by: Guenter Roeck Signed-off-by: Jean Delvare --- Reading git-diff-tree failed