linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: Hyungwoo Yang <hyungwoo.yang@intel.com>
Cc: kbuild-all@01.org, linux-media@vger.kernel.org,
	sakari.ailus@linux.intel.com, jian.xu.zheng@intel.com,
	hyungwoo.yang@intel.com
Subject: [PATCH] i2c: fix platform_no_drv_owner.cocci warnings
Date: Wed, 24 May 2017 21:58:54 +0800	[thread overview]
Message-ID: <20170524135849.GA18456@intel17.lkp.intel.com> (raw)
In-Reply-To: <1495583908-2479-1-git-send-email-hyungwoo.yang@intel.com>

drivers/media/i2c/ov13858.c:1838: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: Hyungwoo Yang <hyungwoo.yang@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 ov13858.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/media/i2c/ov13858.c
+++ b/drivers/media/i2c/ov13858.c
@@ -1835,7 +1835,6 @@ MODULE_DEVICE_TABLE(acpi, ov13858_acpi_i
 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),
 	},

  parent reply	other threads:[~2017-05-24 13:59 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-05-23 23:58 [PATCH 1/1] [media] i2c: add support for OV13858 sensor Hyungwoo Yang
2017-05-24 12:51 ` Sakari Ailus
2017-05-24 23:13   ` Yang, Hyungwoo
2017-05-26 21:50     ` Sakari Ailus
2017-05-26 22:53       ` Yang, Hyungwoo
2017-05-27 19:53         ` Sakari Ailus
2017-05-27 20:18           ` Yang, Hyungwoo
2017-05-24 13:30 ` kbuild test robot
2017-05-24 13:52 ` kbuild test robot
2017-05-24 13:58 ` kbuild test robot
2017-05-24 13:58 ` kbuild test robot [this message]
2017-05-24 13:58 ` [PATCH] i2c: fix semicolon.cocci warnings kbuild test robot
  -- strict thread matches above, loose matches on Subject: below --
2017-06-14 13:47 [PATCH v3 1/1] i2c: Add Omnivision OV5670 5M sensor support kbuild test robot
2017-06-14  1:39 ` chiranjeevi.rapolu
2017-06-14 13:47   ` [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=20170524135849.GA18456@intel17.lkp.intel.com \
    --to=lkp@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=sakari.ailus@linux.intel.com \
    /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).