From: kbuild test robot <fengguang.wu@intel.com>
To: Linus Walleij <linus.walleij@linaro.org>
Cc: kbuild-all@01.org, Thierry Reding <thierry.reding@gmail.com>,
linux-pwm@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] fix platform_no_drv_owner.cocci warnings
Date: Fri, 16 Jan 2015 09:06:14 +0800 [thread overview]
Message-ID: <20150116010614.GA27751@waimea> (raw)
In-Reply-To: <201501160912.S502Nlmz%fengguang.wu@intel.com>
drivers/pwm/pwm-stmpe.c:99: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
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pwm-stmpe.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pwm/pwm-stmpe.c
+++ b/drivers/pwm/pwm-stmpe.c
@@ -96,7 +96,6 @@ static int stmpe_pwm_remove(struct platf
static struct platform_driver stmpe_pwm_driver = {
.driver = {
.name = "stmpe-pwm",
- .owner = THIS_MODULE,
},
.probe = stmpe_pwm_probe,
.remove = stmpe_pwm_remove,
next parent reply other threads:[~2015-01-16 1:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201501160912.S502Nlmz%fengguang.wu@intel.com>
2015-01-16 1:06 ` kbuild test robot [this message]
2015-03-11 11:05 ` [PATCH] fix platform_no_drv_owner.cocci warnings Thierry Reding
2015-03-18 1:38 ` Linus Walleij
2015-03-24 10:43 ` Thierry Reding
2015-03-25 1:56 ` Fengguang Wu
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=20150116010614.GA27751@waimea \
--to=fengguang.wu@intel.com \
--cc=kbuild-all@01.org \
--cc=linus.walleij@linaro.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pwm@vger.kernel.org \
--cc=thierry.reding@gmail.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