Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1303693 > unrolled thread

[PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings

Started bykbuild test robot <lkp@intel.com>
First post2016-01-07 17:00 +0100
Last post2016-01-07 17:00 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings kbuild test robot <lkp@intel.com> - 2016-01-07 17:00 +0100

#1303693 — [PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings

Fromkbuild test robot <lkp@intel.com>
Date2016-01-07 17:00 +0100
Subject[PATCH] mfd: max77620: fix platform_no_drv_owner.cocci warnings
Message-ID<qOl8K-1I5-13@gated-at.bofh.it>
drivers/mfd/max77620.c:900: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: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/mfd/max77620.c
+++ b/drivers/mfd/max77620.c
@@ -897,7 +897,6 @@ static const struct dev_pm_ops max77620_
 static struct i2c_driver max77620_driver = {
 	.driver = {
 		.name = "max77620",
-		.owner = THIS_MODULE,
 		.pm = &max77620_pm_ops,
 		.of_match_table = max77620_of_match,
 	},
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web