summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/aw88395/aw88395.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2023-02-03 04:15:04 +0300
committerMark Brown <broonie@kernel.org>2023-02-03 15:04:01 +0300
commit1c9ded98bd4e5b87756423e0abededda6f4ba0b8 (patch)
treeb8836b9058ec35ec1c074ddacda253e9f81bd745 /sound/soc/codecs/aw88395/aw88395.c
parent480b26226873c88e482575ceb0d0a38d76e1be57 (diff)
downloadlinux-1c9ded98bd4e5b87756423e0abededda6f4ba0b8.tar.xz
ASoC: codecs: fix platform_no_drv_owner.cocci warning
./sound/soc/codecs/aw88395/aw88395.c:572:3-8: No need to set .owner here. The core will do it. Reported-by: Abaci Robot <abaci@linux.alibaba.com> Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3935 Signed-off-by: Yang Li <yang.lee@linux.alibaba.com> Link: https://lore.kernel.org/r/20230203011504.78918-1-yang.lee@linux.alibaba.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/codecs/aw88395/aw88395.c')
-rw-r--r--sound/soc/codecs/aw88395/aw88395.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/codecs/aw88395/aw88395.c b/sound/soc/codecs/aw88395/aw88395.c
index bce403744c1a..16ca7ac5ad28 100644
--- a/sound/soc/codecs/aw88395/aw88395.c
+++ b/sound/soc/codecs/aw88395/aw88395.c
@@ -569,7 +569,6 @@ MODULE_DEVICE_TABLE(i2c, aw88395_i2c_id);
static struct i2c_driver aw88395_i2c_driver = {
.driver = {
.name = AW88395_I2C_NAME,
- .owner = THIS_MODULE,
},
.probe_new = aw88395_i2c_probe,
.id_table = aw88395_i2c_id,