projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
480b262
)
ASoC: codecs: fix platform_no_drv_owner.cocci warning
author
Yang Li
<yang.lee@linux.alibaba.com>
Fri, 3 Feb 2023 01:15:04 +0000
(09:15 +0800)
committer
Mark Brown
<broonie@kernel.org>
Fri, 3 Feb 2023 12:04:01 +0000
(12:04 +0000)
./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>
sound/soc/codecs/aw88395/aw88395.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/aw88395/aw88395.c
b/sound/soc/codecs/aw88395/aw88395.c
index
bce4037
..
16ca7ac
100644
(file)
--- 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,