[alsa-devel] [PATCH] ASoC: tegra: fix platform_no_drv_owner.cocci warnings

kbuild test robot fengguang.wu at intel.com
Wed Mar 4 20:37:39 CET 2015


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 at gmail.com>
Signed-off-by: Fengguang Wu <fengguang.wu at intel.com>
---

 tegra_rt5677.c |    1 -
 1 file changed, 1 deletion(-)

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


More information about the Alsa-devel mailing list