]> git.sur5r.net Git - groeck-nct6775/commitdiff
Fix temp10_max_hyst
authorGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 02:54:45 +0000 (19:54 -0700)
committerGuenter Roeck <linux@roeck-us.net>
Thu, 26 Apr 2012 02:54:45 +0000 (19:54 -0700)
temp9_max_hyst was defined twice, and temp10_max_hyst was missing

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
nct6775.c

index dc3382ab9e65210876a276b0e10aeaa6544cc944..a6ae98032c86c256d38518a1ae6a2c280a04f7c6 100644 (file)
--- a/nct6775.c
+++ b/nct6775.c
@@ -1640,7 +1640,7 @@ static struct sensor_device_attribute_2 sda_temp_max_hyst[] = {
                      7, 2),
        SENSOR_ATTR_2(temp9_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp,
                      8, 2),
-       SENSOR_ATTR_2(temp9_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp,
+       SENSOR_ATTR_2(temp10_max_hyst, S_IRUGO | S_IWUSR, show_temp, store_temp,
                      9, 2),
 };