public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: kbuild test robot <fengguang.wu@intel.com>
To: Mika Westerberg <mika.westerberg@linux.intel.com>
Cc: kbuild-all@01.org, Linus Walleij <linus.walleij@linaro.org>,
	"Rafael J. Wysocki" <rafael.j.wysocki@intel.com>,
	Mathias Nyman <mathias.nyman@linux.intel.com>,
	Jin Yao <yao.jin@intel.com>, Felipe Balbi <balbi@ti.com>,
	"Chew, Kean Ho" <kean.ho.chew@intel.com>,
	linux-kernel@vger.kernel.org
Subject: [PATCH] pinctrl: fix platform_no_drv_owner.cocci warnings
Date: Tue, 9 Dec 2014 18:08:13 +0800	[thread overview]
Message-ID: <20141209100812.GA22435@waimea> (raw)
In-Reply-To: <201412091859.PtLW5zZR%fengguang.wu@intel.com>

drivers/pinctrl/intel/pinctrl-baytrail.c:605: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: Mika Westerberg <mika.westerberg@linux.intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 pinctrl-baytrail.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/pinctrl/intel/pinctrl-baytrail.c
+++ b/drivers/pinctrl/intel/pinctrl-baytrail.c
@@ -602,7 +602,6 @@ static struct platform_driver byt_gpio_d
 	.remove         = byt_gpio_remove,
 	.driver         = {
 		.name   = "byt_gpio",
-		.owner  = THIS_MODULE,
 		.pm	= &byt_gpio_pm_ops,
 		.acpi_match_table = ACPI_PTR(byt_gpio_acpi_match),
 	},

       reply	other threads:[~2014-12-09 10:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <201412091859.PtLW5zZR%fengguang.wu@intel.com>
2014-12-09 10:08 ` kbuild test robot [this message]
     [not found] <201412091835.Agnyz4iN%fengguang.wu@intel.com>
2014-12-09 10:12 ` [PATCH] pinctrl: 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=20141209100812.GA22435@waimea \
    --to=fengguang.wu@intel.com \
    --cc=balbi@ti.com \
    --cc=kbuild-all@01.org \
    --cc=kean.ho.chew@intel.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathias.nyman@linux.intel.com \
    --cc=mika.westerberg@linux.intel.com \
    --cc=rafael.j.wysocki@intel.com \
    --cc=yao.jin@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