aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/w83795.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2010-10-28 14:31:47 -0400
committerJean Delvare <khali@endymion.delvare>2010-10-28 14:31:47 -0400
commita0ce402fb006bd694436be8c8522fbe5e6823ac1 (patch)
tree1de416919e3c23dfbde9e31ca6575b8d2bca4668 /drivers/hwmon/w83795.c
parent01879a855fb6bdb3fb820344a7a145de8a5cdbda (diff)
hwmon: (w83795) Rename temperature limit attributes
Follow the standard for temperature limit attribute naming, so that libsensors will pick the values. Signed-off-by: Jean Delvare <khali@linux-fr.org>
Diffstat (limited to 'drivers/hwmon/w83795.c')
-rw-r--r--drivers/hwmon/w83795.c20
1 files changed, 10 insertions, 10 deletions
diff --git a/drivers/hwmon/w83795.c b/drivers/hwmon/w83795.c
index 58c61f11ed66..5ce276b67528 100644
--- a/drivers/hwmon/w83795.c
+++ b/drivers/hwmon/w83795.c
@@ -1541,13 +1541,13 @@ store_sf_setup(struct device *dev, struct device_attribute *attr,
1541 show_dts_mode, NULL, NOT_USED, index - 7), \ 1541 show_dts_mode, NULL, NOT_USED, index - 7), \
1542 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_dts, \ 1542 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_dts, \
1543 NULL, NOT_USED, index - 7), \ 1543 NULL, NOT_USED, index - 7), \
1544 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \ 1544 SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_dts_ext, \
1545 store_dts_ext, DTS_CRIT, NOT_USED), \ 1545 store_dts_ext, DTS_CRIT, NOT_USED), \
1546 SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ 1546 SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \
1547 show_dts_ext, store_dts_ext, DTS_CRIT_HYST, NOT_USED), \ 1547 show_dts_ext, store_dts_ext, DTS_CRIT_HYST, NOT_USED), \
1548 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_dts_ext, \ 1548 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_dts_ext, \
1549 store_dts_ext, DTS_WARN, NOT_USED), \ 1549 store_dts_ext, DTS_WARN, NOT_USED), \
1550 SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \ 1550 SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
1551 show_dts_ext, store_dts_ext, DTS_WARN_HYST, NOT_USED), \ 1551 show_dts_ext, store_dts_ext, DTS_WARN_HYST, NOT_USED), \
1552 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ 1552 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1553 show_alarm_beep, NULL, ALARM_STATUS, index + 17), \ 1553 show_alarm_beep, NULL, ALARM_STATUS, index + 17), \
@@ -1559,13 +1559,13 @@ store_sf_setup(struct device *dev, struct device_attribute *attr,
1559 show_temp_mode, store_temp_mode, NOT_USED, index - 1), \ 1559 show_temp_mode, store_temp_mode, NOT_USED, index - 1), \
1560 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \ 1560 SENSOR_ATTR_2(temp##index##_input, S_IRUGO, show_temp, \
1561 NULL, TEMP_READ, index - 1), \ 1561 NULL, TEMP_READ, index - 1), \
1562 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \ 1562 SENSOR_ATTR_2(temp##index##_crit, S_IRUGO | S_IWUSR, show_temp, \
1563 store_temp, TEMP_CRIT, index - 1), \ 1563 store_temp, TEMP_CRIT, index - 1), \
1564 SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \ 1564 SENSOR_ATTR_2(temp##index##_crit_hyst, S_IRUGO | S_IWUSR, \
1565 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \ 1565 show_temp, store_temp, TEMP_CRIT_HYST, index - 1), \
1566 SENSOR_ATTR_2(temp##index##_warn, S_IRUGO | S_IWUSR, show_temp, \ 1566 SENSOR_ATTR_2(temp##index##_max, S_IRUGO | S_IWUSR, show_temp, \
1567 store_temp, TEMP_WARN, index - 1), \ 1567 store_temp, TEMP_WARN, index - 1), \
1568 SENSOR_ATTR_2(temp##index##_warn_hyst, S_IRUGO | S_IWUSR, \ 1568 SENSOR_ATTR_2(temp##index##_max_hyst, S_IRUGO | S_IWUSR, \
1569 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \ 1569 show_temp, store_temp, TEMP_WARN_HYST, index - 1), \
1570 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \ 1570 SENSOR_ATTR_2(temp##index##_alarm, S_IRUGO, \
1571 show_alarm_beep, NULL, ALARM_STATUS, \ 1571 show_alarm_beep, NULL, ALARM_STATUS, \
@@ -1583,9 +1583,9 @@ store_sf_setup(struct device *dev, struct device_attribute *attr,
1583 TEMP_PWM_FAN_MAP, index - 1), \ 1583 TEMP_PWM_FAN_MAP, index - 1), \
1584 SENSOR_ATTR_2(thermal_cruise##index, S_IWUSR | S_IRUGO, \ 1584 SENSOR_ATTR_2(thermal_cruise##index, S_IWUSR | S_IRUGO, \
1585 show_temp_pwm, store_temp_pwm, TEMP_PWM_TTTI, index - 1), \ 1585 show_temp_pwm, store_temp_pwm, TEMP_PWM_TTTI, index - 1), \
1586 SENSOR_ATTR_2(temp##index##_crit, S_IWUSR | S_IRUGO, \ 1586 SENSOR_ATTR_2(temp##index##_warn, S_IWUSR | S_IRUGO, \
1587 show_temp_pwm, store_temp_pwm, TEMP_PWM_CTFS, index - 1), \ 1587 show_temp_pwm, store_temp_pwm, TEMP_PWM_CTFS, index - 1), \
1588 SENSOR_ATTR_2(temp##index##_crit_hyst, S_IWUSR | S_IRUGO, \ 1588 SENSOR_ATTR_2(temp##index##_warn_hyst, S_IWUSR | S_IRUGO, \
1589 show_temp_pwm, store_temp_pwm, TEMP_PWM_HCT, index - 1), \ 1589 show_temp_pwm, store_temp_pwm, TEMP_PWM_HCT, index - 1), \
1590 SENSOR_ATTR_2(temp##index##_operation_hyst, S_IWUSR | S_IRUGO, \ 1590 SENSOR_ATTR_2(temp##index##_operation_hyst, S_IWUSR | S_IRUGO, \
1591 show_temp_pwm, store_temp_pwm, TEMP_PWM_HOT, index - 1), \ 1591 show_temp_pwm, store_temp_pwm, TEMP_PWM_HOT, index - 1), \