i2c-cpm: Suppress autoprobing for devices
authorWolfram Sang <w.sang@pengutronix.de>
Thu, 16 Oct 2008 19:12:00 +0000 (21:12 +0200)
committerKumar Gala <galak@kernel.crashing.org>
Tue, 21 Oct 2008 04:31:24 +0000 (23:31 -0500)
Similar to commit 618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove
automatic probing for this i2c controller. Might need updates to dts files
using it.

Signed-off-by: Wolfram Sang <w.sang@pengutronix.de>
Acked-by: Jochen Friedrich <jochen@scram.de>
Acked-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
drivers/i2c/busses/i2c-cpm.c

index 8164de1..228f757 100644 (file)
@@ -423,7 +423,6 @@ static const struct i2c_adapter cpm_ops = {
        .owner          = THIS_MODULE,
        .name           = "i2c-cpm",
        .algo           = &cpm_i2c_algo,
-       .class          = I2C_CLASS_HWMON | I2C_CLASS_SPD,
 };
 
 static int __devinit cpm_i2c_setup(struct cpm_i2c *cpm)