[PATCH] sensors-detect: Drop outdated comment about MAX1617 and LM84 detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Drop comment that additional checks for MAX1617 and LM84 are not
done in adm1021 driver, as this is no longer correct.

Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
---
 prog/detect/sensors-detect |    3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 19bfe1a..518e5d8 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -5534,8 +5534,7 @@ sub adm1021_detect
 
 	# Extra checks for MAX1617 and LM84, since those are often misdetected.
 	# 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
-	# by the adm1021 driver.
+	# discard the chip if any fail.
 	if ($chip == 2 || $chip == 5) {
 		my $lte = i2c_smbus_read_byte_data($file, 0x00);
 		my $rte = i2c_smbus_read_byte_data($file, 0x01);
-- 
1.7.9.7


_______________________________________________
lm-sensors mailing list
lm-sensors@xxxxxxxxxxxxxx
http://lists.lm-sensors.org/mailman/listinfo/lm-sensors




[Index of Archives]     [Linux Kernel]     [Linux Hardware Monitoring]     [Linux USB Devel]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Yosemite Backpacking]

  Powered by Linux