mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-10-01 05:52:41 +07:00
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:
committed by
Ondřej Lysoněk
parent
23c53b4574
commit
97b07b2d86
@@ -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],
|
||||
|
||||
Reference in New Issue
Block a user