summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean Delvare <jdelvare@suse.de>2020-05-12 16:23:08 +0200
committerOndřej Lysoněk <olysonek@redhat.com>2020-05-13 11:02:42 +0200
commit97b07b2d8658f5b7734704272edd2e93f7419077 (patch)
tree4afe683e80be8a9adab644793eafa2fc252e7b9b
parent23c53b457407ab3ed217f963fc0329d0ae4bdeac (diff)
downloadlm-sensors-git-97b07b2d8658f5b7734704272edd2e93f7419077.tar.gz
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>
-rwxr-xr-xprog/detect/sensors-detect9
1 files changed, 4 insertions, 5 deletions
diff --git a/prog/detect/sensors-detect b/prog/detect/sensors-detect
index 319b1b7b..fd43db56 100755
--- a/prog/detect/sensors-detect
+++ b/prog/detect/sensors-detect
@@ -719,11 +719,6 @@ use vars qw(@i2c_adapter_names);
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",
i2c_addrs => [0x5c, 0x58],
@@ -1684,6 +1679,10 @@ use vars qw(@i2c_adapter_names);
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],
i2c_detect => sub { fintek_detect(@_, 1); },