[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <20190702061738.45878-1-yuehaibing@huawei.com>
Date: Tue, 2 Jul 2019 06:17:38 +0000
From: YueHaibing <yuehaibing@...wei.com>
To: Bard Liao <bardliao@...ltek.com>,
Oder Chiou <oder_chiou@...ltek.com>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>, Takashi Iwai <tiwai@...e.com>
CC: YueHaibing <yuehaibing@...wei.com>, <alsa-devel@...a-project.org>,
<linux-kernel@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: [PATCH -next] ASoC: rt1308: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: YueHaibing <yuehaibing@...wei.com>
---
sound/soc/codecs/rt1308.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/rt1308.c b/sound/soc/codecs/rt1308.c
index 619a630e982e..d673506c7c39 100755
--- a/sound/soc/codecs/rt1308.c
+++ b/sound/soc/codecs/rt1308.c
@@ -884,7 +884,6 @@ static void rt1308_i2c_shutdown(struct i2c_client *client)
static struct i2c_driver rt1308_i2c_driver = {
.driver = {
.name = "rt1308",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(rt1308_of_match),
.acpi_match_table = ACPI_PTR(rt1308_acpi_match),
},
Powered by blists - more mailing lists