From: Guenter Roeck Date: Thu, 26 Apr 2012 02:54:45 +0000 (-0700) Subject: Fix temp10_max_hyst X-Git-Tag: nct6775-v0.9~36 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=29a0a089a0987bfeddad497cd4fee3f39db4228c;p=groeck-nct6775 Fix temp10_max_hyst temp9_max_hyst was defined twice, and temp10_max_hyst was missing Signed-off-by: Guenter Roeck --- diff --git a/nct6775.c b/nct6775.c index dc3382a..a6ae980 100644 --- 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), };