projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c145d5c
)
hwmon: (it87) Print proper names for the IT8771E and IT8772E
author
Jean Delvare
<khali@linux-fr.org>
Wed, 29 Jan 2014 19:40:08 +0000
(20:40 +0100)
committer
Jean Delvare
<khali@endymion.delvare>
Wed, 29 Jan 2014 19:40:08 +0000
(20:40 +0100)
The driver prints IT8771F and IT8772F instead of IT8771E and IT8772E
respectively when the driver is loaded. This is a cosmetic only bug
but let's fix it.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
drivers/hwmon/it87.c
patch
|
blob
|
history
diff --git
a/drivers/hwmon/it87.c
b/drivers/hwmon/it87.c
index
b78f711
..
d50dc3a
100644
(file)
--- a/
drivers/hwmon/it87.c
+++ b/
drivers/hwmon/it87.c
@@
-1791,6
+1791,7
@@
static int __init it87_find(unsigned short *address,
err = 0;
sio_data->revision = superio_inb(DEVREV) & 0x0f;
pr_info("Found IT%04x%c chip at 0x%x, revision %d\n", chip_type,
+ chip_type == 0x8771 || chip_type == 0x8772 ||
chip_type == 0x8603 ? 'E' : 'F', *address,
sio_data->revision);