Return-path: Received: from mail-qt0-f193.google.com ([209.85.216.193]:45018 "EHLO mail-qt0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754814AbeDWLoZ (ORCPT ); Mon, 23 Apr 2018 07:44:25 -0400 Received: by mail-qt0-f193.google.com with SMTP id j26-v6so17160223qtl.11 for ; Mon, 23 Apr 2018 04:44:25 -0700 (PDT) From: Fabio Estevam To: mchehab@kernel.org Cc: hverkuil@xs4all.nl, sakari.ailus@iki.fi, linux-media@vger.kernel.org, Fabio Estevam , Sakari Ailus Subject: [PATCH RESEND 3/3] media: ov13858: Remove owner assignment from i2c_driver Date: Mon, 23 Apr 2018 08:42:02 -0300 Message-Id: <1524483722-19783-3-git-send-email-festevam@gmail.com> In-Reply-To: <1524483722-19783-1-git-send-email-festevam@gmail.com> References: <1524483722-19783-1-git-send-email-festevam@gmail.com> Sender: linux-media-owner@vger.kernel.org List-ID: From: Fabio Estevam 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. Cc: Sakari Ailus Signed-off-by: Fabio Estevam --- drivers/media/i2c/ov13858.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/media/i2c/ov13858.c b/drivers/media/i2c/ov13858.c index 30ee9f7..5b617a7 100644 --- a/drivers/media/i2c/ov13858.c +++ b/drivers/media/i2c/ov13858.c @@ -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), }, -- 2.7.4