sensors-detect: Move Winbond WPCD377I to the non-hwmon table

Move the detection entry for the Winbond WPCD377I to the
@non_hwmon_chip_ids table, where it belongs. This saves one line, and
more importantly prevents "not-a-sensor" from being accidentally
added to the list of kernel drivers.

Signed-off-by: Jean Delvare <jdelvare@suse.de>
This commit is contained in:
Jean Delvare
2020-05-13 11:02:42 +02:00
committed by Ondřej Lysoněk
parent 23c53b4574
commit 97b07b2d86
+4 -5
View File
@@ -718,11 +718,6 @@ use vars qw(@i2c_adapter_names);
driver => "emc6w201",
i2c_addrs => [0x2c..0x2e],
i2c_detect => sub { emc6w201_detect(@_); },
}, {
name => "Winbond WPCD377I",
driver => "not-a-sensor",
i2c_addrs => [0x2c..0x2e],
i2c_detect => sub { lm85_detect(@_, 7); },
}, {
name => "Analog Devices ADT7462",
driver => "adt7462",
@@ -1683,6 +1678,10 @@ use vars qw(@i2c_adapter_names);
name => "Winbond W83791SD",
i2c_addrs => [0x2c..0x2f],
i2c_detect => sub { w83791sd_detect(@_); },
}, {
name => "Winbond WPCD377I",
i2c_addrs => [0x2c..0x2e],
i2c_detect => sub { lm85_detect(@_, 7); },
}, {
name => "Fintek F75111R/RG/N (GPIO)",
i2c_addrs => [0x37, 0x4e],