[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20181225043826.GA158508@lkp-ib04.lkp.intel.com>
Date: Tue, 25 Dec 2018 12:38:26 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Katsuhiro Suzuki <katsuhiro@...suster.net>
Cc: kbuild-all@...org, Mark Brown <broonie@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>, alsa-devel@...a-project.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
From: kbuild test robot <fengguang.wu@...el.com>
sound/soc/codecs/rk3328_codec.c:508:6-11: 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
Fixes: dc1b33660692 ("ASoC: rockchip: support ACODEC for rk3328")
CC: Katsuhiro Suzuki <katsuhiro@...suster.net>
Signed-off-by: kbuild test robot <fengguang.wu@...el.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git master
head: 6a1d293238c1774cef23c25b5188b0c134c29a34
commit: dc1b33660692441867a8ec5be147915dfa3bc8cb [11432/12209] ASoC: rockchip: support ACODEC for rk3328
rk3328_codec.c | 1 -
1 file changed, 1 deletion(-)
--- a/sound/soc/codecs/rk3328_codec.c
+++ b/sound/soc/codecs/rk3328_codec.c
@@ -505,7 +505,6 @@ MODULE_DEVICE_TABLE(of, rk3328_codec_of_
static struct platform_driver rk3328_codec_driver = {
.driver = {
.name = "rk3328-codec",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rk3328_codec_of_match),
},
.probe = rk3328_platform_probe,
Powered by blists - more mailing lists