mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-08 16:11:26 +00:00
Drop support for "dummy" bus type. The kernel no longer supports
such fake i2c buses, so neither should we. Instead, non-i2c buses are handled explicitly. git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4672 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
6bf63e0f7a
commit
b52225ffc0
6 files changed
+4
-15
No files matched your search
+1
-1
@@ -382,7 +382,7 @@ int sensors_read_sysfs_bus(void)
|
||||
if (!strncmp(entry.adapter, "ISA ", 4)) {
|
||||
entry.number = SENSORS_CHIP_NAME_BUS_ISA;
|
||||
} else if (sscanf(clsdev->name, "i2c-%d", &entry.number) != 1) {
|
||||
entry.number = SENSORS_CHIP_NAME_BUS_DUMMY;
|
||||
continue;
|
||||
}
|
||||
|
||||
sensors_add_proc_bus(&entry);
|
||||
|
||||
Reference in new issue
Block a user