summaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/it87.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2014-01-29 20:40:08 +0100
committerJean Delvare <khali@endymion.delvare>2014-01-29 20:40:08 +0100
commitb523bb75098b1ed4dd98cb651b7b71e5b8c4f533 (patch)
tree57e1d8b258cf12ff28de1aa68ceda6e63d49651d /drivers/hwmon/it87.c
parenthwmon: (it87) Add support for the ITE IT8603E (diff)
downloadlinux-b523bb75098b1ed4dd98cb651b7b71e5b8c4f533.tar.xz
linux-b523bb75098b1ed4dd98cb651b7b71e5b8c4f533.zip
hwmon: (it87) Print proper names for the IT8771E and IT8772E
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>
Diffstat (limited to 'drivers/hwmon/it87.c')
-rw-r--r--drivers/hwmon/it87.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/hwmon/it87.c b/drivers/hwmon/it87.c
index b78f71110983..d50dc3a763a5 100644
--- 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);