Message ID | 20170614134715.GA23007@xian.lkp.intel.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
--- a/drivers/media/i2c/ov5670.c +++ b/drivers/media/i2c/ov5670.c @@ -2574,7 +2574,6 @@ MODULE_DEVICE_TABLE(acpi, ov5670_acpi_id static struct i2c_driver ov5670_i2c_driver = { .driver = { .name = "ov5670", - .owner = THIS_MODULE, .pm = &ov5670_pm_ops, .acpi_match_table = ACPI_PTR(ov5670_acpi_ids), },
drivers/media/i2c/ov5670.c:2577:3-8: No need to set .owner here. The core will do it. Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci CC: Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com> --- ov5670.c | 1 - 1 file changed, 1 deletion(-)