ASoC: Mediatek: MT8183: 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@huawei.com> Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
0f9e47b3fd
commit
b6c573e5e8
|
@ -364,7 +364,6 @@ static const struct of_device_id mt8183_mt6358_ts3a227_max98357_dt_match[] = {
|
|||
static struct platform_driver mt8183_mt6358_ts3a227_max98357_driver = {
|
||||
.driver = {
|
||||
.name = "mt8183_mt6358_ts3a227_max98357",
|
||||
.owner = THIS_MODULE,
|
||||
#ifdef CONFIG_OF
|
||||
.of_match_table = mt8183_mt6358_ts3a227_max98357_dt_match,
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue