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:
Jean Delvare committed 2007-08-16 09:54:53 +00:00
1 parent 6bf63e0f7a
commit b52225ffc0
6 files changed
+4 -15

No files matched your search

-2
View File
@@ -326,8 +326,6 @@ const char *sensors_get_adapter_name(int bus_nr)
return "ISA adapter";
if (bus_nr == SENSORS_CHIP_NAME_BUS_PCI)
return "PCI adapter";
if (bus_nr == SENSORS_CHIP_NAME_BUS_DUMMY)
return "Dummy adapter";
for (i = 0; i < sensors_proc_bus_count; i++)
if (sensors_proc_bus[i].number == bus_nr)
return sensors_proc_bus[i].adapter;