linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Phani Movva <Phani.Movva@imgtec.com>
Cc: kbuild-all@01.org, Ezequiel Garcia <ezequiel.garcia@imgtec.com>,
	Naidu Tellapati <Naidu.Tellapati@imgtec.com>,
	Jonathan Cameron <jic23@kernel.org>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald <pmeerw@pmeerw.net>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] iio: adc: fix platform_no_drv_owner.cocci warnings
Date: Wed, 7 Jan 2015 00:38:27 +0800	[thread overview]
Message-ID: <20150106163827.GA3373@waimea> (raw)
In-Reply-To: <201501070002.RUPsFw0V%fengguang.wu@intel.com>

drivers/iio/adc/cc10001_adc.c:414: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: Phani Movva <Phani.Movva@imgtec.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/iio/adc/cc10001_adc.c
+++ b/drivers/iio/adc/cc10001_adc.c
@@ -411,7 +411,6 @@ MODULE_DEVICE_TABLE(of, cc10001_adc_dt_i
 static struct platform_driver cc10001_adc_driver = {
 	.driver = {
 		.name   = "cc10001-adc",
-		.owner	= THIS_MODULE,
 		.of_match_table = cc10001_adc_dt_ids,
 	},
 	.probe	= cc10001_adc_probe,

       reply	other threads:[~2015-01-06 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201501070002.RUPsFw0V%fengguang.wu@intel.com>
2015-01-06 16:38 ` kbuild test robot [this message]
2015-10-05  6:54 [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc kbuild test robot
2015-10-05  6:14 ` H. Nikolaus Schaller
2015-10-05  6:54   ` [PATCH] iio:adc: 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=20150106163827.GA3373@waimea \
    --to=fengguang.wu@intel.com \
    --cc=Naidu.Tellapati@imgtec.com \
    --cc=Phani.Movva@imgtec.com \
    --cc=ezequiel.garcia@imgtec.com \
    --cc=jic23@kernel.org \
    --cc=kbuild-all@01.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    /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).