Commit d82e78b0 authored by YueHaibing's avatar YueHaibing Committed by Mark Brown

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b6c573e5
...@@ -454,7 +454,6 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = { ...@@ -454,7 +454,6 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = {
static struct platform_driver mt8183_da7219_max98357_driver = { static struct platform_driver mt8183_da7219_max98357_driver = {
.driver = { .driver = {
.name = "mt8183_da7219_max98357", .name = "mt8183_da7219_max98357",
.owner = THIS_MODULE,
#ifdef CONFIG_OF #ifdef CONFIG_OF
.of_match_table = mt8183_da7219_max98357_dt_match, .of_match_table = mt8183_da7219_max98357_dt_match,
#endif #endif
......
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