[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191006062919.65562-1-yuehaibing@huawei.com>
Date: Sun, 6 Oct 2019 06:29:19 +0000
From: YueHaibing <yuehaibing@...wei.com>
To: Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Jaroslav Kysela <perex@...ex.cz>,
Takashi Iwai <tiwai@...e.com>,
Frank Shi <shifu0704@...ndersoft.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: tas2770: 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/tas2770.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sound/soc/codecs/tas2770.c b/sound/soc/codecs/tas2770.c
index 9da88ccb1d51..dbbb21fe0548 100644
--- a/sound/soc/codecs/tas2770.c
+++ b/sound/soc/codecs/tas2770.c
@@ -793,7 +793,6 @@ MODULE_DEVICE_TABLE(of, tas2770_of_match);
static struct i2c_driver tas2770_i2c_driver = {
.driver = {
.name = "tas2770",
- .owner = THIS_MODULE,
.of_match_table = of_match_ptr(tas2770_of_match),
},
.probe = tas2770_i2c_probe,
Powered by blists - more mailing lists