diff mbox

[RESEND] i2c-cpm: Suppress autoprobing for devices

Message ID 20081016191200.GB13629@pengutronix.de (mailing list archive)
State Accepted, archived
Delegated to: Kumar Gala
Headers show

Commit Message

Wolfram Sang Oct. 16, 2008, 7:12 p.m. UTC
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>
---
Resend with cc to i2c.

 drivers/i2c/busses/i2c-cpm.c |    1 -
 1 file changed, 1 deletion(-)

Comments

Jean Delvare Oct. 17, 2008, 8:55 a.m. UTC | #1
Hi Wolfram,

On Thu, 16 Oct 2008 21:12:00 +0200, Wolfram Sang wrote:
> 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>
> ---
> Resend with cc to i2c.
> 
>  drivers/i2c/busses/i2c-cpm.c |    1 -
>  1 file changed, 1 deletion(-)
> 
> Index: linux-2.6/drivers/i2c/busses/i2c-cpm.c
> ===================================================================
> --- linux-2.6.orig/drivers/i2c/busses/i2c-cpm.c
> +++ linux-2.6/drivers/i2c/busses/i2c-cpm.c
> @@ -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)

Acked-by: Jean Delvare <khali@linux-fr.org>

I guess you do _not_ want me to push this patch upstream now and it
better goes through the powerpc tree to allow a synchronization with
dts file changes?

If I'm wrong and you want me to take this patch in my tree then please
tell me.
Kumar Gala Oct. 20, 2008, 2:46 p.m. UTC | #2
On Oct 16, 2008, at 2:12 PM, Wolfram Sang wrote:

> 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>
> ---
> Resend with cc to i2c.
>
> drivers/i2c/busses/i2c-cpm.c |    1 -
> 1 file changed, 1 deletion(-)

applied

- k
diff mbox

Patch

Index: linux-2.6/drivers/i2c/busses/i2c-cpm.c
===================================================================
--- linux-2.6.orig/drivers/i2c/busses/i2c-cpm.c
+++ linux-2.6/drivers/i2c/busses/i2c-cpm.c
@@ -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)