diff options
author | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-10 18:47:14 -0500 |
---|---|---|
committer | Guenter Roeck <guenter.roeck@ericsson.com> | 2011-03-15 01:39:20 -0400 |
commit | 02309ad2b8cbcf45260dd9bb5a527799a612c161 (patch) | |
tree | ed6c4051a881bbee05e0fce5f7ffeb8dfee74f8f /drivers/hwmon/w83627ehf.c | |
parent | d42e869acf0da4502c452b786dee35f0ecf4cbc8 (diff) |
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>
Diffstat (limited to 'drivers/hwmon/w83627ehf.c')
-rw-r--r-- | drivers/hwmon/w83627ehf.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/drivers/hwmon/w83627ehf.c b/drivers/hwmon/w83627ehf.c index d18031944960..f2b377c56a3a 100644 --- a/drivers/hwmon/w83627ehf.c +++ b/drivers/hwmon/w83627ehf.c | |||
@@ -1899,9 +1899,10 @@ static int __devinit w83627ehf_probe(struct platform_device *pdev) | |||
1899 | else | 1899 | else |
1900 | data->in6_skip = 1; | 1900 | data->in6_skip = 1; |
1901 | } | 1901 | } |
1902 | data->temp_label = nct6776_temp_label; | ||
1903 | } else { | ||
1904 | data->temp_label = nct6775_temp_label; | ||
1902 | } | 1905 | } |
1903 | |||
1904 | data->temp_label = nct6776_temp_label; | ||
1905 | } else if (sio_data->kind == w83667hg_b) { | 1906 | } else if (sio_data->kind == w83667hg_b) { |
1906 | u8 reg; | 1907 | u8 reg; |
1907 | 1908 | ||