hwmon: (it87) Replace macro defining tempX_type sensors with direct definitions
authorGuenter Roeck <linux@roeck-us.net>
Wed, 19 Dec 2012 21:17:01 +0000 (22:17 +0100)
committerJean Delvare <khali@endymion.delvare>
Wed, 19 Dec 2012 21:17:01 +0000 (22:17 +0100)
commit2cece01ffd622ab65a4f5a6704e3a74c1174d2fa
tree80ca67d24770743381e423f157f192e8a03bc1fa
parent929c6a5696f5efe7f4213cf9d8b12144a0c0c650
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 <linux@roeck-us.net>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c