All of lore.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <lkp@intel.com>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.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>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Wenyou Yang <wenyou.yang@atmel.com>
Subject: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings
Date: Tue, 8 Mar 2016 07:54:24 +0800	[thread overview]
Message-ID: <20160307235423.GA88525@ivytown2.intel.com> (raw)
In-Reply-To: <1452218729-11357-2-git-send-email-wenyou.yang@atmel.com>

drivers/mfd/act8945a.c:100:6-11: 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: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/mfd/act8945a.c
+++ b/drivers/mfd/act8945a.c
@@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(of, act8945a_of_matc
 static struct i2c_driver act8945a_i2c_driver = {
 	.driver = {
 		   .name = "act8945a",
-		   .owner = THIS_MODULE,
 		   .of_match_table = of_match_ptr(act8945a_of_match),
 	},
 	.probe = act8945a_i2c_probe,

WARNING: multiple messages have this Message-ID (diff)
From: kbuild test robot <lkp@intel.com>
To: Wenyou Yang <wenyou.yang@atmel.com>
Cc: kbuild-all@01.org, Lee Jones <lee.jones@linaro.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>,
	Nicolas Ferre <nicolas.ferre@atmel.com>,
	linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
	Wenyou Yang <wenyou.yang@atmel.com>
Subject: [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings
Date: Tue, 8 Mar 2016 07:54:24 +0800	[thread overview]
Message-ID: <20160307235423.GA88525@ivytown2.intel.com> (raw)
In-Reply-To: <1452218729-11357-2-git-send-email-wenyou.yang@atmel.com>

drivers/mfd/act8945a.c:100:6-11: 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: Wenyou Yang <wenyou.yang@atmel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/mfd/act8945a.c
+++ b/drivers/mfd/act8945a.c
@@ -97,7 +97,6 @@ MODULE_DEVICE_TABLE(of, act8945a_of_matc
 static struct i2c_driver act8945a_i2c_driver = {
 	.driver = {
 		   .name = "act8945a",
-		   .owner = THIS_MODULE,
 		   .of_match_table = of_match_ptr(act8945a_of_match),
 	},
 	.probe = act8945a_i2c_probe,

  parent reply	other threads:[~2016-03-07 23:54 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-01-08  2:05 [PATCH 0/2] mfd: act8945a: add Active-semi ACT8945A PMIC MFD driver Wenyou Yang
2016-01-08  2:05 ` Wenyou Yang
     [not found] ` <1452218729-11357-1-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-01-08  2:05   ` [PATCH 1/2] " Wenyou Yang
2016-01-08  2:05     ` Wenyou Yang
2016-01-11  5:49     ` Lee Jones
2016-01-12  7:40       ` Yang, Wenyou
     [not found]     ` <1452218729-11357-2-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-03-07 23:54       ` kbuild test robot
2016-03-07 23:54         ` kbuild test robot
2016-03-07 23:54     ` kbuild test robot [this message]
2016-03-07 23:54       ` [PATCH] mfd: act8945a: fix platform_no_drv_owner.cocci warnings kbuild test robot
2016-03-08  1:53       ` Yang, Wenyou
2016-03-08  4:50         ` Lee Jones
2016-03-08  4:50           ` Lee Jones
2016-01-08  2:05 ` [PATCH 2/2] mfd: add documentation for ACT8945A DT bindings Wenyou Yang
2016-01-08  2:05   ` Wenyou Yang
2016-01-09 15:38   ` Rob Herring
2016-01-12  8:04     ` Yang, Wenyou
2016-01-12  8:04       ` Yang, Wenyou
     [not found]   ` <1452218729-11357-3-git-send-email-wenyou.yang-AIFe0yeh4nAAvxtiuMwx3w@public.gmane.org>
2016-01-11  5:49     ` Lee Jones
2016-01-11  5:49       ` Lee Jones
2016-01-12  7:43       ` Yang, Wenyou
2016-01-12  7:43         ` Yang, Wenyou
2016-01-12  8:53         ` Lee Jones
2016-01-12  8:53           ` Lee Jones
2016-03-08  3:04     ` kbuild test robot
2016-03-08  3:04       ` kbuild test robot
     [not found]       ` <201603081124.QHccT8lq%fengguang.wu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
2016-03-08  7:57         ` Yang, Wenyou
2016-03-08  7:57           ` Yang, Wenyou

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=20160307235423.GA88525@ivytown2.intel.com \
    --to=lkp@intel.com \
    --cc=devicetree@vger.kernel.org \
    --cc=galak@codeaurora.org \
    --cc=ijc+devicetree@hellion.org.uk \
    --cc=kbuild-all@01.org \
    --cc=lee.jones@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=nicolas.ferre@atmel.com \
    --cc=pawel.moll@arm.com \
    --cc=robh+dt@kernel.org \
    --cc=wenyou.yang@atmel.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.