projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d42e869
)
hwmon: (w83627ehf) Display correct temperature sensor labels for systems with NCT6775F
author
Guenter Roeck
<guenter.roeck@ericsson.com>
Thu, 10 Mar 2011 23:47:14 +0000
(15:47 -0800)
committer
Guenter 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
patch
|
blob
|
history
diff --git
a/drivers/hwmon/w83627ehf.c
b/drivers/hwmon/w83627ehf.c
index d1803194496065cc470c103796794a9e698bf352..f2b377c56a3acda506e1efb21837bfa7138879de 100644
(file)
--- a/
drivers/hwmon/w83627ehf.c
+++ b/
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;