mirror of https://gitee.com/openkylin/linux.git
i2c-cpm: Suppress autoprobing for devices
Similar to commit 618b26d528
, 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>
This commit is contained in:
parent
13690332a3
commit
0a346dacee
|
@ -423,7 +423,6 @@ static const struct i2c_adapter cpm_ops = {
|
||||||
.owner = THIS_MODULE,
|
.owner = THIS_MODULE,
|
||||||
.name = "i2c-cpm",
|
.name = "i2c-cpm",
|
||||||
.algo = &cpm_i2c_algo,
|
.algo = &cpm_i2c_algo,
|
||||||
.class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
|
|
||||||
};
|
};
|
||||||
|
|
||||||
static int __devinit cpm_i2c_setup(struct cpm_i2c *cpm)
|
static int __devinit cpm_i2c_setup(struct cpm_i2c *cpm)
|
||||||
|
|
Loading…
Reference in New Issue