Skip to contentSkip to conversation

i2c: Drop i2c_driver.{owner, name},

PATCH In review Jean Delvare 2 participants 2 messages Nov 26, 2005 – Nov 28, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 17/25 i2c: Drop i2c_driver.{owner, name},

From: Laurent Riffard <[email protected]>
Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-08-acorn.patch

We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones.

This patch updates the drivers for acorn arch.

---
 drivers/acorn/char/pcf8583.c |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)
drivers/acorn/char/pcf8583.c +4 -1
@@ -257,7 +257,10 @@
 }
 
 static struct i2c_driver pcf8583_driver = {
-	.name		= "PCF8583",
+	.driver = {
+		.owner	= THIS_MODULE,
+		.name	= "PCF8583",
+	},
 	.id		= I2C_DRIVERID_PCF8583,
 	.attach_adapter	= pcf8583_probe,
 	.detach_client	= pcf8583_detach,
Signature · 1 line
Jean Delvare
Acked-by on v1 17/25
#1 lore raw
Quoted 10 lines · Jean Delvare

From: Laurent Riffard <[email protected]>
Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-08-acorn.patch

We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones.

This patch updates the drivers for acorn arch.

Thanks.

Signature · 3 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 Serial core