diff mbox

ASoC: tegra: fix platform_no_drv_owner.cocci warnings

Message ID 20150304193739.GA91196@athens.lkp.intel.com (mailing list archive)
State Accepted
Commit 012baec5c1eaab7ad98b461eb7afae2faf79dbea
Headers show

Commit Message

Fengguang Wu 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(-)

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