ASoC: tegra: fix platform_no_drv_owner.cocci warnings
authorkbuild test robot <fengguang.wu@intel.com>
Wed, 4 Mar 2015 19:37:39 +0000 (03:37 +0800)
committerMark Brown <broonie@kernel.org>
Thu, 5 Mar 2015 17:07:56 +0000 (17:07 +0000)
sound/soc/tegra/tegra_rt5677.c:334: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

CC: Anatol Pomozov <anatol.pomozov@gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/tegra/tegra_rt5677.c

index e4cf978a6e3a9a194ef27a5abd62e2e2b67d2bf3..4453566405efb0cd726787349fbcf33ed88bd84f 100644 (file)
@@ -331,7 +331,6 @@ static const struct of_device_id tegra_rt5677_of_match[] = {
 static struct platform_driver tegra_rt5677_driver = {
        .driver = {
                .name = DRV_NAME,
-               .owner = THIS_MODULE,
                .pm = &snd_soc_pm_ops,
                .of_match_table = tegra_rt5677_of_match,
        },