i2c: Drop i2c_driver.{owner, name},
Subsystems (3)
PATCH 19/25 i2c: Drop i2c_driver.{owner, name},
Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-10-arm.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 arm arch.
Signed-off-by Jean Delvare <[email protected]>
CC Laurent Riffard <[email protected]>
--- arch/arm/mach-pxa/akita-ioexp.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
arch/arm/mach-pxa/akita-ioexp.c +4 -2
@@ -124,8 +124,10 @@ }static struct i2c_driver max7310_i2c_driver = { - .owner =THIS_MODULE , - .name ="akita-max7310" , + .driver = { + .owner =THIS_MODULE , + .name ="akita-max7310" , + }, .id =I2C_DRIVERID_AKITAIOEXP , .attach_adapter = max7310_attach_adapter, .detach_client = max7310_detach_client,
Signature · 1 line
Jean Delvare