Don't handle the isa bus in sensors_parse_i2cbus_name(). We really

don't need to, as there is a single ISA bus, there's no need for
substituting anything.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/branches/lm-sensors-3.0.0@4674 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2007-08-16 09:57:56 +00:00
1 parent 8896ba3b1f
commit e9fccf7d01
2 files changed
+4 -10

No files matched your search

-4
View File
@@ -190,10 +190,6 @@ int sensors_parse_i2cbus_name(const char *name, int *res)
{
int i;
if (! strcmp(name,"isa")) {
*res = SENSORS_CHIP_NAME_BUS_ISA;
return 0;
}
if (strncmp(name,"i2c-",4)) {
return -SENSORS_ERR_BUS_NAME;
}