The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
To: "H. Nikolaus Schaller" <hns@goldelico.com>
Cc: kbuild-all@01.org, "Rob Herring" <robh+dt@kernel.org>,
	"Pawel Moll" <pawel.moll@arm.com>,
	"Mark Rutland" <mark.rutland@arm.com>,
	"Ian Campbell" <ijc+devicetree@hellion.org.uk>,
	"Kumar Gala" <galak@codeaurora.org>,
	"Benoît Cousson" <bcousson@baylibre.com>,
	"Tony Lindgren" <tony@atomide.com>,
	"Russell King" <linux@arm.linux.org.uk>,
	"Marek Belisko" <marek@goldelico.com>,
	"Pradeep Goudagunta" <pgoudagunta@nvidia.com>,
	"H. Nikolaus Schaller" <hns@goldelico.com>,
	"Laxman Dewangan" <ldewangan@nvidia.com>,
	gg@slimlogic.co.uk, jic23@jic23.retrosnub.co.uk,
	devicetree@vger.kernel.org, linux-kernel@vger.kernel.org,
	linux-omap@vger.kernel.org, linux-iio@vger.kernel.org,
	"Grazvydas Ignotas" <notasas@gmail.com>
Subject: [PATCH] iio:adc: fix platform_no_drv_owner.cocci warnings
Date: Mon, 5 Oct 2015 14:54:01 +0800	[thread overview]
Message-ID: <20151005065401.GA24118@lkp-hsx03> (raw)
In-Reply-To: <fba10a9902d88110569630da2a86ed4faf261e79.1444025628.git.hns@goldelico.com>

drivers/iio/adc/palmas_gpadc.c:798: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: H. Nikolaus Schaller <hns@goldelico.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/iio/adc/palmas_gpadc.c
+++ b/drivers/iio/adc/palmas_gpadc.c
@@ -795,7 +795,6 @@ static struct platform_driver palmas_gpa
 	.remove = palmas_gpadc_remove,
 	.driver = {
 		.name = MOD_NAME,
-		.owner = THIS_MODULE,
 		.pm = &palmas_pm_ops,
 	},
 };

  reply	other threads:[~2015-10-05  6:55 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1437657169.3419965.331206849.51D66A2E@webmail.messagingengine.com>
2015-09-23 12:48 ` [PATCH 0/3] Add Palmas iio gpadc H. Nikolaus Schaller
     [not found]   ` <cover.1443973837.git.hns@goldelico.com>
2015-10-04 16:05     ` [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
     [not found]     ` <6C211191-87B8-4444-ADA7-8BE454C2B3D3@goldelico.com>
2015-10-05 11:17       ` [PATCH v2 2/3] iio:adc:palmas: add DT support Mark Rutland
2015-10-05 14:26         ` H. Nikolaus Schaller
2015-10-05  6:14   ` [PATCH v2 0/3] Add Palmas iio gpadc H. Nikolaus Schaller
2015-10-05  6:14     ` [PATCH v2 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
2015-10-05  6:54       ` kbuild test robot [this message]
2015-10-05  6:54       ` kbuild test robot
2015-10-05 10:48       ` Laxman Dewangan
2015-10-11 14:27       ` Jonathan Cameron
2015-10-13  8:14         ` Lee Jones
2015-10-05  6:14     ` [PATCH v2 2/3] iio:adc:palmas: add DT support H. Nikolaus Schaller
2015-10-05 10:53       ` Laxman Dewangan
2015-10-05  6:14     ` [PATCH v2 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas H. Nikolaus Schaller
     [not found] ` <cover.1443012491.git.hns@goldelico.com>
2015-09-23 12:48   ` [PATCH 1/3] iio:adc: add iio driver for Palmas (twl6035/7) gpadc H. Nikolaus Schaller
2015-09-23 13:26     ` Peter Meerwald
2015-09-24  8:59       ` H. Nikolaus Schaller
2015-09-27 15:21     ` Jonathan Cameron
2015-09-28 20:54       ` H. Nikolaus Schaller
     [not found]       ` <95BEC150-7B77-48BF-B11D-929090A1CC11@goldelico.com>
2015-10-11 14:33         ` Jonathan Cameron
2015-09-23 12:49   ` [PATCH 2/3] iio:adc:palmas: add DT support H. Nikolaus Schaller
2015-09-27 15:37     ` Jonathan Cameron
2015-09-23 12:49   ` [PATCH 3/3] ARM: dts: omap5-uevm: enable iio gpadc for Palmas H. Nikolaus Schaller
2015-09-23 16:56     ` Tony Lindgren
2015-09-23 17:03       ` H. Nikolaus Schaller
     [not found] <201501070002.RUPsFw0V%fengguang.wu@intel.com>
2015-01-06 16:38 ` [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=20151005065401.GA24118@lkp-hsx03 \
    --to=lkp@intel.com \
    --cc=bcousson@baylibre.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=gg@slimlogic.co.uk \
    --cc=hns@goldelico.com \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=jic23@jic23.retrosnub.co.uk \
    --cc=kbuild-all@01.org \
    --cc=ldewangan@nvidia.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=linux@arm.linux.org.uk \
    --cc=marek@goldelico.com \
    --cc=mark.rutland@arm.com \
    --cc=notasas@gmail.com \
    --cc=pawel.moll@arm.com \
    --cc=pgoudagunta@nvidia.com \
    --cc=robh+dt@kernel.org \
    --cc=tony@atomide.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