i2c: Drop i2c_driver.{owner, name},
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.
Signed-off-by Laurent Riffard <[email protected]>
Signed-off-by Jean Delvare <[email protected]>
--- 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
Quoted 10 lines · Jean Delvare
From: Laurent Riffard <[email protected]>
Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-08-acorn.patchWe 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.
Signed-off-by Laurent Riffard <[email protected]>Signed-off-by Jean Delvare <[email protected]>
Acked-by Russell King <[email protected]>
Thanks.
Signature · 3 lines
Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: 2.6 Serial core