ASoC: rockchip: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 26 Aug 2015 11:48:13 +0000 (19:48 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 26 Aug 2015 12:01:02 +0000 (13:01 +0100)
sound/soc/rockchip/rockchip_rt5645.c:214: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: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/rockchip/rockchip_rt5645.c

index adfe98c..274b9b3 100644 (file)
@@ -211,7 +211,6 @@ static struct platform_driver snd_rk_mc_driver = {
        .probe = snd_rk_mc_probe,
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = rockchip_rt5645_of_match,
        },