media: si2165: Remove owner assignment from i2c_driver
Subsystems (5)
PATCH 1/3 media: si2165: Remove owner assignment from i2c_driver
From: Fabio Estevam <[email protected]>
Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
--- drivers/media/dvb-frontends/si2165.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/dvb-frontends/si2165.c +0 -1
@@ -1299,7 +1299,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table);static struct i2c_driver si2165_driver = { .driver = { - .owner =THIS_MODULE , .name ="si2165" , }, .probe = si2165_probe,
Signature · 1 line
2.7.4
PATCH 2/3 media: ov5695: Remove owner assignment from i2c_driver
From: Fabio Estevam <[email protected]>
Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
--- drivers/media/i2c/ov5695.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/i2c/ov5695.c +0 -1
@@ -1385,7 +1385,6 @@ MODULE_DEVICE_TABLE(of, ov5695_of_match);static struct i2c_driver ov5695_i2c_driver = { .driver = { .name ="ov5695" , - .owner =THIS_MODULE , .pm = &ov5695_pm_ops, .of_match_table =of_match_ptr (ov5695_of_match), },
Signature · 1 line
2.7.4
PATCH 3/3 media: ov13858: Remove owner assignment from i2c_driver
In reply to Fabio EstevamFrom: Fabio Estevam <[email protected]>
Structure i2c_driver does not need to set the owner field, as this will be populated by the driver core.
Generated by scripts/coccinelle/api/platform_no_drv_owner.cocci.
--- drivers/media/i2c/ov13858.c | 1 - 1 file changed, 1 deletion(-)
drivers/media/i2c/ov13858.c +0 -1
@@ -1805,7 +1805,6 @@ MODULE_DEVICE_TABLE(acpi, ov13858_acpi_ids);static struct i2c_driver ov13858_i2c_driver = { .driver = { .name ="ov13858" , - .owner =THIS_MODULE , .pm = &ov13858_pm_ops, .acpi_match_table =ACPI_PTR (ov13858_acpi_ids), },
Signature · 1 line
2.7.4
Thank you for sending this patch.
Am 24.03.2018 um 15:01 schrieb Fabio Estevam:
Quoted 19 lines
From: Fabio Estevam <[email protected]>
Structure
i2c_driverdoes not need to set the owner field, as this will be populated by the driver core.Generated by
scripts/coccinelle/api/platform_no_drv_owner.cocci.Cc Matthias Schwarzott <[email protected]>Signed-off-by Fabio Estevam <[email protected]>--- drivers/media/dvb-frontends/si2165.c | 1 - 1 file changed, 1 deletion(-)drivers/media/dvb-frontends/si2165.c +0
-0
drivers/media/dvb-frontends/si2165.c MODULE_DEVICE_TABLE(i2c, si2165_id_table); · line 1304
Quoted 7 lines
drivers/media/dvb-frontends/si2165.c +0
-1@@ -1299,7 +1299,6 @@ MODULE_DEVICE_TABLE(i2c, si2165_id_table);static struct i2c_driver si2165_driver = { .driver = { - .owner =THIS_MODULE , .name ="si2165" , }, .probe = si2165_probe,
The change is fine.