Преглед на файлове

hwmon: (w83627ehf) Display correct temperature sensor labels for systems with NCT6775F

Systems with NCT6775F reported temperature sensor labels for systems with
NCT6776F. This patch fixes the problem.

Signed-off-by: Guenter Roeck <guenter.roeck@ericsson.com>
Guenter Roeck преди 14 години
родител
ревизия
02309ad2b8
променени са 1 файла, в които са добавени 3 реда и са изтрити 2 реда
  1. 3 2
      drivers/hwmon/w83627ehf.c

+ 3 - 2
drivers/hwmon/w83627ehf.c

@@ -1899,9 +1899,10 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev)
 				else
 					data->in6_skip = 1;
 			}
+			data->temp_label = nct6776_temp_label;
+		} else {
+			data->temp_label = nct6775_temp_label;
 		}
-
-		data->temp_label = nct6776_temp_label;
 	} else if (sio_data->kind == w83667hg_b) {
 		u8 reg;