linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: chiranjeevi.rapolu@intel.com
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
	sakari.ailus@linux.intel.com, tfiga@chromium.org,
	jian.xu.zheng@intel.com, rajmohan.mani@intel.com,
	hyungwoo.yang@intel.com,
	Chiranjeevi Rapolu <chiranjeevi.rapolu@intel.com>
Subject: [PATCH] i2c: fix platform_no_drv_owner.cocci warnings
Date: Wed, 14 Jun 2017 21:47:15 +0800	[thread overview]
Message-ID: <20170614134715.GA23007@xian.lkp.intel.com> (raw)
In-Reply-To: <1497404348-16255-1-git-send-email-chiranjeevi.rapolu@intel.com>

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(-)

--- 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),
 	},

  reply	other threads:[~2017-06-14 13:48 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-03 22:06 [PATCH] ov5670: Add Omnivision OV5670 5M sensor support Chiranjeevi Rapolu
2017-05-04  8:48 ` Sakari Ailus
2017-05-04  8:50   ` Sakari Ailus
2017-05-26  1:21     ` Rapolu, Chiranjeevi
2017-05-26  1:19   ` Rapolu, Chiranjeevi
2017-05-26  8:29     ` Sakari Ailus
2017-06-14 18:27       ` Rapolu, Chiranjeevi
2017-05-25 22:42 ` [PATCH v2 1/1] [media] i2c: " chiranjeevi.rapolu
2017-05-26  6:42   ` kbuild test robot
2017-06-14  1:39   ` [PATCH v3 1/1] " chiranjeevi.rapolu
2017-06-14 13:47     ` kbuild test robot [this message]
2017-06-14 13:47     ` kbuild test robot
2017-06-14 13:47     ` [PATCH] i2c: fix semicolon.cocci warnings kbuild test robot
2017-06-14 23:00     ` [PATCH v3 1/1] i2c: Add Omnivision OV5670 5M sensor support Sakari Ailus
2017-07-01 22:31       ` Rapolu, Chiranjeevi
2017-07-01 20:49     ` [PATCH v4 " chiranjeevi.rapolu
2017-07-07 22:24       ` Sakari Ailus
2017-07-14  4:35         ` Rapolu, Chiranjeevi
2017-07-07 22:48       ` Mani, Rajmohan
2017-07-14  4:36         ` Rapolu, Chiranjeevi
2017-07-14  1:51     ` [PATCH v5 " Chiranjeevi Rapolu
2017-07-14 10:43       ` Sakari Ailus
2021-07-08  8:10       ` Laurent Pinchart
  -- strict thread matches above, loose matches on Subject: below --
2017-05-24 13:58 [PATCH 1/1] [media] i2c: add support for OV13858 sensor kbuild test robot
2017-05-23 23:58 ` Hyungwoo Yang
2017-05-24 13:58   ` [PATCH] i2c: fix platform_no_drv_owner.cocci warnings kbuild test robot

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170614134715.GA23007@xian.lkp.intel.com \
    --to=lkp@intel.com \
    --cc=chiranjeevi.rapolu@intel.com \
    --cc=hyungwoo.yang@intel.com \
    --cc=jian.xu.zheng@intel.com \
    --cc=kbuild-all@01.org \
    --cc=linux-media@vger.kernel.org \
    --cc=rajmohan.mani@intel.com \
    --cc=sakari.ailus@linux.intel.com \
    --cc=tfiga@chromium.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).