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:
Jean Delvare committed 2008-12-03 12:05:18 +00:00
1 parent c13b0b76ff
commit 165c1bca75
1 file changed
+3 -1
+3 -1
View File
@@ -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;
}