|
@@ -87,12 +87,9 @@ static const char *__kw_state_names[] = {
|
|
};
|
|
};
|
|
#endif /* DEBUG */
|
|
#endif /* DEBUG */
|
|
|
|
|
|
-static int probe;
|
|
|
|
-
|
|
|
|
MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
|
|
MODULE_AUTHOR("Benjamin Herrenschmidt <benh@kernel.crashing.org>");
|
|
MODULE_DESCRIPTION("I2C driver for Apple's Keywest");
|
|
MODULE_DESCRIPTION("I2C driver for Apple's Keywest");
|
|
MODULE_LICENSE("GPL");
|
|
MODULE_LICENSE("GPL");
|
|
-module_param(probe, bool, 0);
|
|
|
|
|
|
|
|
#ifdef POLLED_MODE
|
|
#ifdef POLLED_MODE
|
|
/* Don't schedule, the g5 fan controller is too
|
|
/* Don't schedule, the g5 fan controller is too
|
|
@@ -632,15 +629,6 @@ create_iface(struct device_node *np, struct device *dev)
|
|
chan->adapter.name);
|
|
chan->adapter.name);
|
|
i2c_set_adapdata(&chan->adapter, NULL);
|
|
i2c_set_adapdata(&chan->adapter, 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",
|
|
printk(KERN_INFO "Found KeyWest i2c on \"%s\", %d channel%s, stepping: %d bits\n",
|