i2c: Drop i2c_driver.{owner, name},
PATCH 18/25 i2c: Drop i2c_driver.{owner, name},
From: Laurent Riffard <[email protected]>
Content-Disposition: inline; filename=i2c-drop-driver-owner-and-name-09-video.patch
We should use the i2c_driver.driver's .name and .owner fields instead of the i2c_driver's ones.
This patch updates the matroxfb driver.
Signed-off-by Laurent Riffard <[email protected]>
Signed-off-by Jean Delvare <[email protected]>
--- drivers/video/matrox/matroxfb_maven.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-)
drivers/video/matrox/matroxfb_maven.c +4 -2
@@ -1293,8 +1293,10 @@ }static struct i2c_driver maven_driver={ - .owner =THIS_MODULE , - .name ="maven" , + .driver = { + .owner =THIS_MODULE , + .name ="maven" , + }, .id =I2C_DRIVERID_MGATVO , .attach_adapter = maven_attach_adapter, .detach_client = maven_detach_client,
Signature · 1 line
Jean Delvare