From: lkp@intel.com (kbuild test robot)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH] ASoC: codec: fix platform_no_drv_owner.cocci warnings
Date: Mon, 9 Nov 2015 11:13:55 +0800 [thread overview]
Message-ID: <20151109031354.GA17578@xian> (raw)
In-Reply-To: <1447035020-10332-2-git-send-email-zhengsq@rock-chips.com>
sound/soc/codecs/inno_rk3036.c:480: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: ZhengShunQian <zhengsq@rock-chips.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
inno_rk3036.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/codecs/inno_rk3036.c
+++ b/sound/soc/codecs/inno_rk3036.c
@@ -477,7 +477,6 @@ MODULE_DEVICE_TABLE(of, rk3036_codec_of_
static struct platform_driver rk3036_codec_platform_driver = {
.driver = {
.name = "rk3036-codec-platform",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rk3036_codec_of_match),
},
.probe = rk3036_codec_platform_probe,
next prev parent reply other threads:[~2015-11-09 3:13 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-11-09 2:10 [PATCH v4 0/2] Audio Codec Driver of RK3036 SoC Shunqian Zheng
2015-11-09 2:10 ` [PATCH v4 1/2] ASoC: codec: Inno codec driver for " Shunqian Zheng
2015-11-09 3:13 ` kbuild test robot
2015-11-09 3:13 ` kbuild test robot [this message]
2015-11-09 2:10 ` [PATCH v4 2/2] ASoC: RK3036: Add binding doc of inno-rk3036 codec driver Shunqian Zheng
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=20151109031354.GA17578@xian \
--to=lkp@intel.com \
--cc=linux-arm-kernel@lists.infradead.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