mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-24 12:44:11 +08:00
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>
This commit is contained in:
parent
480b262268
commit
1c9ded98bd
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user