From: kbuild test robot <fengguang.wu@intel.com>
To: John Crispin <john@phrozen.org>
Cc: kbuild-all@01.org, linux-pwm@vger.kernel.org,
Thierry Reding <thierry.reding@gmail.com>,
linux-kernel@vger.kernel.org
Subject: [PATCH] pwm: fix platform_no_drv_owner.cocci warnings
Date: Thu, 13 Apr 2017 04:54:42 +0800 [thread overview]
Message-ID: <20170412205442.GA69515@lkp-ib03.lkp.intel.com> (raw)
In-Reply-To: <201704130438.qZYSDVF1%fengguang.wu@intel.com>
drivers/pwm/pwm-mediatek.c:210: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: John Crispin <john@phrozen.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
pwm-mediatek.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/pwm/pwm-mediatek.c
+++ b/drivers/pwm/pwm-mediatek.c
@@ -207,7 +207,6 @@ MODULE_DEVICE_TABLE(of, mtk_pwm_of_match
static struct platform_driver mtk_pwm_driver = {
.driver = {
.name = "mtk-pwm",
- .owner = THIS_MODULE,
.of_match_table = mtk_pwm_of_match,
},
.probe = mtk_pwm_probe,
next parent reply other threads:[~2017-04-12 20:54 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <201704130438.qZYSDVF1%fengguang.wu@intel.com>
2017-04-12 20:54 ` kbuild test robot [this message]
2017-04-13 15:28 ` Thierry Reding
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=20170412205442.GA69515@lkp-ib03.lkp.intel.com \
--to=fengguang.wu@intel.com \
--cc=john@phrozen.org \
--cc=kbuild-all@01.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
all inboxes | Powered by JetHome®