Skip to content

Commit

Permalink
ASoC: Mediatek: MT8183: Fix platform_no_drv_owner.cocci warnings
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
YueHaibing authored and Mark Brown committed Apr 4, 2019
1 parent b6c573e commit d82e78b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c
Original file line number Diff line number Diff line change
Expand Up @@ -454,7 +454,6 @@ static const struct of_device_id mt8183_da7219_max98357_dt_match[] = {
static struct platform_driver mt8183_da7219_max98357_driver = {
.driver = {
.name = "mt8183_da7219_max98357",
.owner = THIS_MODULE,
#ifdef CONFIG_OF
.of_match_table = mt8183_da7219_max98357_dt_match,
#endif
Expand Down

0 comments on commit d82e78b

Please sign in to comment.