mirror of
https://github.com/lm-sensors/lm-sensors
synced 2025-08-30 22:05:11 +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:
@@ -302,9 +302,6 @@ const char *sprintf_chip_name(const sensors_chip_name *name)
|
||||
snprintf(buf, BUF_SIZE, "%s-isa-%04x", name->prefix, name->addr);
|
||||
else if (name->bus == SENSORS_CHIP_NAME_BUS_PCI)
|
||||
snprintf(buf, BUF_SIZE, "%s-pci-%04x", name->prefix, name->addr);
|
||||
else if (name->bus == SENSORS_CHIP_NAME_BUS_DUMMY)
|
||||
snprintf(buf, BUF_SIZE, "%s-%s-%04x", name->prefix, name->busname,
|
||||
name->addr);
|
||||
else
|
||||
snprintf(buf, BUF_SIZE, "%s-i2c-%d-%02x", name->prefix, name->bus,
|
||||
name->addr);
|
||||
|
Reference in New Issue
Block a user