diff options
author | kbuild test robot <fengguang.wu@intel.com> | 2015-03-05 03:37:39 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2015-03-05 17:07:56 +0000 |
commit | 012baec5c1eaab7ad98b461eb7afae2faf79dbea (patch) | |
tree | 7420e306aaed448750902147398df8d1dff39dae /sound/soc/tegra | |
parent | dd3001490834e10615d9eb229b3e9bbcc0070541 (diff) | |
download | lwn-012baec5c1eaab7ad98b461eb7afae2faf79dbea.tar.gz lwn-012baec5c1eaab7ad98b461eb7afae2faf79dbea.zip |
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>
Diffstat (limited to 'sound/soc/tegra')
-rw-r--r-- | sound/soc/tegra/tegra_rt5677.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/tegra/tegra_rt5677.c b/sound/soc/tegra/tegra_rt5677.c index e4cf978a6e3a..4453566405ef 100644 --- a/sound/soc/tegra/tegra_rt5677.c +++ b/sound/soc/tegra/tegra_rt5677.c @@ -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, }, |