[PATCH] i2c-mpc: suppress I2C device probing

Jean Delvare khali at linux-fr.org
Thu Aug 7 21:07:17 EST 2008


On Thu, 07 Aug 2008 12:50:11 +0200, Jochen Friedrich wrote:
> Hi Wolfgang,
> 
> >   $ grep I2C_CLASS_HWMON *
> >   i2c-cpm.c:	.class		= I2C_CLASS_HWMON | I2C_CLASS_SPD,
> >   i2c-mpc.c:	.class = I2C_CLASS_HWMON | I2C_CLASS_SPD,
> >   i2c-ibm_iic.c:	adap->class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
> >   i2c-pasemi.c:	smbus->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
> >   i2c-mv64xxx.c:	drv_data->adapter.class = I2C_CLASS_HWMON | I2C_CLASS_SPD;
> > 
> > It would be consequent to remove them as well.
> 
> ACK for the i2c-cpm part.

No objection on my side. It's really up to each platform to choose the
way they want to handle i2c device creation, and stick to it.

As I understand it, the removal of the adapter class needs to be
synchronized with platform code changes. Thus it might make sense to
push these through their respective arch trees, rather than the i2c
tree.

-- 
Jean Delvare



More information about the Linuxppc-dev mailing list