mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-10 16:30:50 +00:00
Skip non-hwmon devices.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@5510 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
c13b0b76ff
commit
165c1bca75
1 file changed
+3
-1
@@ -57,7 +57,9 @@ while (<SD>)
|
||||
{
|
||||
# Some chips are handled differently depending on the kernel
|
||||
# version, avoid counting them twice.
|
||||
if (m/^\@chip_kern24_ids\s*=/ || m/^\@chip_oldfsc_ids\s*=/) {
|
||||
if (m/^\@chip_kern24_ids\s*=/
|
||||
|| m/^\@chip_oldfsc_ids\s*=/
|
||||
|| m/^\@non_hwmon_chip_ids\s*=/) {
|
||||
$skip = 1;
|
||||
next;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user