diff options
author | Guenter Roeck <linux@roeck-us.net> | 2012-12-20 01:17:01 +0400 |
---|---|---|
committer | Jean Delvare <khali@endymion.delvare> | 2012-12-20 01:17:01 +0400 |
commit | 2cece01ffd622ab65a4f5a6704e3a74c1174d2fa (patch) | |
tree | 80ca67d24770743381e423f157f192e8a03bc1fa /drivers/hwmon/adt7475.c | |
parent | 929c6a5696f5efe7f4213cf9d8b12144a0c0c650 (diff) | |
download | linux-2cece01ffd622ab65a4f5a6704e3a74c1174d2fa.tar.xz |
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>
Diffstat (limited to 'drivers/hwmon/adt7475.c')
0 files changed, 0 insertions, 0 deletions