Commit 67f72776 authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

ASoC: zx: fix platform_no_drv_owner.cocci warnings

sound/soc/zte/zx296702-i2s.c:428:3-8: No need to set .owner here. The core will do it.

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: default avatarFengguang Wu <fengguang.wu@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 69ccc502
...@@ -425,7 +425,6 @@ static struct platform_driver i2s_driver = { ...@@ -425,7 +425,6 @@ static struct platform_driver i2s_driver = {
.probe = zx_i2s_probe, .probe = zx_i2s_probe,
.driver = { .driver = {
.name = "zx-i2s", .name = "zx-i2s",
.owner = THIS_MODULE,
.of_match_table = zx_i2s_dt_ids, .of_match_table = zx_i2s_dt_ids,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment