mirror of
https://github.com/lm-sensors/lm-sensors.git
synced 2026-11-03 13:38:25 +00:00
Remove bus probing code. This is a backport from Linux 2.6.
git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@3073 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
1 parent
08bdbcac71
commit
060662c522
1 file changed
-12
@@ -73,11 +73,8 @@
|
||||
MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
|
||||
MODULE_DESCRIPTION("I2C driver for Apple's Keywest");
|
||||
MODULE_LICENSE("GPL");
|
||||
MODULE_PARM(probe, "i");
|
||||
MODULE_PARM(debug, "i");
|
||||
|
||||
|
||||
int probe = 0;
|
||||
int debug = 0;
|
||||
|
||||
static struct keywest_iface *ifaces = NULL;
|
||||
@@ -551,15 +548,6 @@ create_iface(struct device_node* np)
|
||||
chan->adapter.name);
|
||||
chan->adapter.data = NULL;
|
||||
}
|
||||
if (probe) {
|
||||
printk("Probe: ");
|
||||
for (addr = 0x00; addr <= 0x7f; addr++) {
|
||||
if (i2c_smbus_xfer(&chan->adapter,addr,
|
||||
0,0,0,I2C_SMBUS_QUICK,NULL) >= 0)
|
||||
printk("%02x ", addr);
|
||||
}
|
||||
printk("\n");
|
||||
}
|
||||
}
|
||||
|
||||
printk(KERN_INFO "Found KeyWest i2c on \"%s\", %d channel%s, stepping: %d bits\n",
|
||||
|
||||
Reference in new issue
Block a user