1
0
Fork 0

ASoC: tegra: fix platform_no_drv_owner.cocci warnings

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>
hifive-unleashed-5.1
kbuild test robot 2015-03-05 03:37:39 +08:00 committed by Mark Brown
parent dd30014908
commit 012baec5c1
1 changed files with 0 additions and 1 deletions

View 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,
},