i2c-cpm: Suppress autoprobing for devices
Subsystems (2)
PATCH 1/1 i2c-cpm: Suppress autoprobing for devices
Similar to commit 618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove automatic probing for this i2c controller. Might need updates to dts files using it.
--- drivers/i2c/busses/i2c-cpm.c | 1 - 1 file changed, 1 deletion(-)
drivers/i2c/busses/i2c-cpm.c +0 -1
@@ -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)
Signature · 2 lines
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
Quoted 5 lines · Wolfram Sang
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 <[email protected]>
Quoted 9 lines · Wolfram Sang
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 <[email protected]>---
drivers/i2c/busses/i2c-cpm.c| 1 -1 file changed, 1 deletion(-)
The i2c list should be CC'd. Jean should pick this up.
- k
Similar to commit 618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove automatic probing for this i2c controller. Might need updates to dts files using it.
---
Resend with cc to i2c.
drivers/i2c/busses/i2c-cpm.c | 1 - 1 file changed, 1 deletion(-)
drivers/i2c/busses/i2c-cpm.c +0 -1
@@ -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)
Signature · 2 lines
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
_______________________________________________
Linuxppc-dev mailing list
[email protected]
https://ozlabs.org/mailman/listinfo/linuxppc-dev
From: Kumar Gala <[email protected]>
Date: Thu, 16 Oct 2008 11:09:30 -0500
Quoted 8 lines · Wolfram Sang
Quoted 6 lines
Similar to commit
618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove automatic probing for this i2c controller. Might need updates to dts files using it.
Quoted 6 lines
Quoted 4 lines
Signed-off-by Wolfram Sang <[email protected]>---
drivers/i2c/busses/i2c-cpm.c| 1 -1 file changed, 1 deletion(-)The i2c list should be CC'd. Jean should pick this up.
Don't bother, he'll just argue with you about the fact that class based probing should be maintained.
He's doing exactly that with me right now.
I think the powerpc folks are doing exactly the right thing by merging their I2C changes directly to Linus. Please just continue doing this.
That's what I should have done with my sparc stuff, I'm being punished now for having sent my changes to "the right place". :-/
Quoted 4 lines · David Miller
Don't bother, he'll just argue with you about the fact that class based probing should be maintained.
He's doing exactly that with me right now.
I think the two of you talked at cross purposes. Just observing, I can follow his point, that you can easily switch probing off in the driver (like Wolfgang Grandegger's and my patch does), so there is no need to sacrifice some functionality of a whole algorithm. Just clear the .class-entry in your driver and there should be peace ;)
All the best,
Wolfram
Signature · 2 lines
Dipl.-Ing. Wolfram Sang | http://www.pengutronix.de Pengutronix - Linux Solutions for Science and Industry
Jean Delvare
Acked-byHi Wolfram,
Quoted 17 lines · Wolfram Sang
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 <[email protected]>Acked-by Jochen Friedrich <[email protected]>---
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
===================================================================
drivers/i2c/busses/i2c-cpm.c static const struct i2c_adapter cpm_ops · line 428
Quoted 7 lines
drivers/i2c/busses/i2c-cpm.c +0
-1@@ -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)
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.
Signature · 1 line
Jean Delvare
Kumar Gala
AppliedQuoted 6 lines · Wolfram Sang
Similar to commit
618b26d52843c0f85b8eb143cf2695d7f6fd072d, also remove
automatic probing for this i2c controller. Might need updates to dts files
using it.
Quoted 7 lines
Signed-off-by Wolfram Sang <[email protected]>Acked-by Jochen Friedrich <[email protected]>---
Resend with cc to i2c.
drivers/i2c/busses/i2c-cpm.c| 1 -1 file changed, 1 deletion(-)
applied
- k
_______________________________________________
i2c mailing list
[email protected]
http://lists.lm-sensors.org/mailman/listinfo/i2c