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


Groups > linux.kernel > #1623349 > unrolled thread

[PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2017-04-13 23:00 +0200
Last post2017-04-14 19:20 +0200
Articles 3 — 3 participants

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] regulator: tps65132: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2017-04-13 23:00 +0200
    Re: [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci  warnings Laxman Dewangan <ldewangan@nvidia.com> - 2017-04-14 11:10 +0200
    Applied "regulator: tps65132: fix platform_no_drv_owner.cocci warnings" to the regulator tree Mark Brown <broonie@kernel.org> - 2017-04-14 19:20 +0200

#1623349 — [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings

Fromkbuild test robot <fengguang.wu@intel.com>
Date2017-04-13 23:00 +0200
Subject[PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings
Message-ID<tvU0p-8jw-7@gated-at.bofh.it>
drivers/regulator/tps65132-regulator.c:274: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: Venkat Reddy Talla <vreddytalla@nvidia.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

 tps65132-regulator.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/regulator/tps65132-regulator.c
+++ b/drivers/regulator/tps65132-regulator.c
@@ -271,7 +271,6 @@ MODULE_DEVICE_TABLE(i2c, tps65132_id);
 static struct i2c_driver tps65132_i2c_driver = {
 	.driver = {
 		.name = "tps65132",
-		.owner = THIS_MODULE,
 	},
 	.probe = tps65132_probe,
 	.id_table = tps65132_id,

[toc] | [next] | [standalone]


#1623590 — Re: [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings

FromLaxman Dewangan <ldewangan@nvidia.com>
Date2017-04-14 11:10 +0200
SubjectRe: [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings
Message-ID<tw5oS-7Fv-23@gated-at.bofh.it>
In reply to#1623349
On Friday 14 April 2017 02:27 AM, kbuild test robot wrote:
> drivers/regulator/tps65132-regulator.c:274: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: Venkat Reddy Talla <vreddytalla@nvidia.com>
> Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
> ---
LGTM,
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>

[toc] | [prev] | [next] | [standalone]


#1623797 — Applied "regulator: tps65132: fix platform_no_drv_owner.cocci warnings" to the regulator tree

FromMark Brown <broonie@kernel.org>
Date2017-04-14 19:20 +0200
SubjectApplied "regulator: tps65132: fix platform_no_drv_owner.cocci warnings" to the regulator tree
Message-ID<twd34-3Pv-27@gated-at.bofh.it>
In reply to#1623349
The patch

   regulator: tps65132: fix platform_no_drv_owner.cocci warnings

has been applied to the regulator tree at

   git://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git 

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.  

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

From 43594dd453f082d36336ea8338cd9c2d28c1691a Mon Sep 17 00:00:00 2001
From: kbuild test robot <fengguang.wu@intel.com>
Date: Fri, 14 Apr 2017 04:57:35 +0800
Subject: [PATCH] regulator: tps65132: fix platform_no_drv_owner.cocci warnings

drivers/regulator/tps65132-regulator.c:274: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

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
---
 drivers/regulator/tps65132-regulator.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/regulator/tps65132-regulator.c b/drivers/regulator/tps65132-regulator.c
index a2fc7322f434..73978dd440f7 100644
--- a/drivers/regulator/tps65132-regulator.c
+++ b/drivers/regulator/tps65132-regulator.c
@@ -271,7 +271,6 @@ MODULE_DEVICE_TABLE(i2c, tps65132_id);
 static struct i2c_driver tps65132_i2c_driver = {
 	.driver = {
 		.name = "tps65132",
-		.owner = THIS_MODULE,
 	},
 	.probe = tps65132_probe,
 	.id_table = tps65132_id,
-- 
2.11.0

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web