2
0
mirror of https://github.com/lm-sensors/lm-sensors synced 2025-08-29 13:28:01 +00:00

lm-sensors: Drop comment that additional checks for MAX1617 and LM84

are not done in adm1021 driver, as this is no longer correct.
This commit is contained in:
Guenter Roeck 2013-06-07 18:48:08 +00:00
parent 2dec06a2a9
commit e8af0c718c

View File

@ -5534,8 +5534,7 @@ sub adm1021_detect
# Extra checks for MAX1617 and LM84, since those are often misdetected. # Extra checks for MAX1617 and LM84, since those are often misdetected.
# We verify several assertions (6 for the MAX1617, 4 for the LM84) and # We verify several assertions (6 for the MAX1617, 4 for the LM84) and
# discard the chip if any fail. Note that these checks are not done # discard the chip if any fail.
# by the adm1021 driver.
if ($chip == 2 || $chip == 5) { if ($chip == 2 || $chip == 5) {
my $lte = i2c_smbus_read_byte_data($file, 0x00); my $lte = i2c_smbus_read_byte_data($file, 0x00);
my $rte = i2c_smbus_read_byte_data($file, 0x01); my $rte = i2c_smbus_read_byte_data($file, 0x01);