diff mbox

ASoC: tegra: fix platform_no_drv_owner.cocci warnings

Message ID 20150304193739.GA91196@athens.lkp.intel.com
State Not Applicable, archived
Headers show

Commit Message

kbuild test robot March 4, 2015, 7:37 p.m. UTC
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>
---

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

--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Comments

Mark Brown March 5, 2015, 5:08 p.m. UTC | #1
On Thu, Mar 05, 2015 at 03:37:39AM +0800, kbuild test robot wrote:
> sound/soc/tegra/tegra_rt5677.c:334:3-8: No need to set .owner here. The core will do it.

Applied, thanks.
diff mbox

Patch

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