ASoC: Mediatek: MT8183: Fix platform_no_drv_owner.cocci warnings
authorYueHaibing <yuehaibing@huawei.com>
Wed, 3 Apr 2019 07:11:59 +0000 (07:11 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 4 Apr 2019 05:50:58 +0000 (12:50 +0700)
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>
sound/soc/mediatek/mt8183/mt8183-da7219-max98357.c

index 1e7e8aed87078d399e7a521014127878c7fa2717..31ea8632c3977c900b29b11088e548ae18d0a91f 100644 (file)
@@ -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