hwmon: (w83627ehf) Display correct temperature sensor labels for systems with NCT6775F
authorGuenter Roeck <guenter.roeck@ericsson.com>
Thu, 10 Mar 2011 23:47:14 +0000 (15:47 -0800)
committerGuenter Roeck <guenter.roeck@ericsson.com>
Tue, 15 Mar 2011 05:39:20 +0000 (22:39 -0700)
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>
drivers/hwmon/w83627ehf.c

index d1803194496065cc470c103796794a9e698bf352..f2b377c56a3acda506e1efb21837bfa7138879de 100644 (file)
@@ -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;
 
This page took 0.028617 seconds and 5 git commands to generate.