From: kbuild test robot <fengguang.wu@intel.com>
To: Bill Richardson <wfrichar@chromium.org>
Cc: kbuild-all@01.org, Olof Johansson <olof@lixom.net>,
Javier Martinez Canillas <javier.martinez@collabora.co.uk>,
linux-kernel@vger.kernel.org
Subject: [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings
Date: Fri, 27 Feb 2015 09:09:01 +0800 [thread overview]
Message-ID: <20150227010901.GA26245@waimea> (raw)
In-Reply-To: <201502270955.VOEyl0rd%fengguang.wu@intel.com>
drivers/platform/chrome/cros_ec_lpc.c:272: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: Bill Richardson <wfrichar@chromium.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
cros_ec_lpc.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/platform/chrome/cros_ec_lpc.c
+++ b/drivers/platform/chrome/cros_ec_lpc.c
@@ -269,7 +269,6 @@ MODULE_DEVICE_TABLE(dmi, cros_ec_lpc_dmi
static struct platform_driver cros_ec_lpc_driver = {
.driver = {
.name = DRV_NAME,
- .owner = THIS_MODULE,
},
.probe = cros_ec_lpc_probe,
.remove = cros_ec_lpc_remove,
next parent reply other threads:[~2015-02-27 1:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201502270955.VOEyl0rd%fengguang.wu@intel.com>
2015-02-27 1:09 ` kbuild test robot [this message]
2015-03-04 19:25 ` [PATCH] platform/chrome: fix platform_no_drv_owner.cocci warnings Olof Johansson
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=20150227010901.GA26245@waimea \
--to=fengguang.wu@intel.com \
--cc=javier.martinez@collabora.co.uk \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=olof@lixom.net \
--cc=wfrichar@chromium.org \
/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