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


Groups > linux.kernel > #1462977 > unrolled thread

[PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"

Started bySF Markus Elfring <elfring@users.sourceforge.net>
First post2016-08-15 18:30 +0200
Last post2016-08-16 10:30 +0200
Articles 3 — 3 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field  "owner" SF Markus Elfring <elfring@users.sourceforge.net> - 2016-08-15 18:30 +0200
    Re: [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field  "owner" Krzysztof Kozlowski <k.kozlowski@samsung.com> - 2016-08-16 08:20 +0200
    Re: [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the  field "owner" Charles Keepax <ckeepax@opensource.wolfsonmicro.com> - 2016-08-16 10:30 +0200

#1462977 — [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"

FromSF Markus Elfring <elfring@users.sourceforge.net>
Date2016-08-15 18:30 +0200
Subject[PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"
Message-ID<s6sVY-7S0-29@gated-at.bofh.it>
From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 18:06:46 +0200

The field "owner" is set by the core.
Thus delete an unneeded initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 arch/arm/mach-s3c64xx/mach-crag6410-module.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/arch/arm/mach-s3c64xx/mach-crag6410-module.c b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
index 571f95c..ccc3ab8 100644
--- a/arch/arm/mach-s3c64xx/mach-crag6410-module.c
+++ b/arch/arm/mach-s3c64xx/mach-crag6410-module.c
@@ -393,8 +393,7 @@ static const struct i2c_device_id wlf_gf_module_id[] = {
 
 static struct i2c_driver wlf_gf_module_driver = {
 	.driver = {
-		.name = "wlf-gf-module",
-		.owner = THIS_MODULE,
+		.name = "wlf-gf-module"
 	},
 	.probe = wlf_gf_module_probe,
 	.id_table = wlf_gf_module_id,
-- 
2.9.2

[toc] | [next] | [standalone]


#1463438

FromKrzysztof Kozlowski <k.kozlowski@samsung.com>
Date2016-08-16 08:20 +0200
Message-ID<s6FTc-7TO-23@gated-at.bofh.it>
In reply to#1462977
On 08/15/2016 06:20 PM, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 15 Aug 2016 18:06:46 +0200
> 
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---
>  arch/arm/mach-s3c64xx/mach-crag6410-module.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Applied, thanks.

Best regards,
Krzysztof

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


#1463532 — Re: [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"

FromCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Date2016-08-16 10:30 +0200
SubjectRe: [PATCH] ARM: s3c64xx: Delete unnecessary assignment for the field "owner"
Message-ID<s6HUZ-EP-3@gated-at.bofh.it>
In reply to#1462977
On Mon, Aug 15, 2016 at 06:20:18PM +0200, SF Markus Elfring wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 15 Aug 2016 18:06:46 +0200
> 
> The field "owner" is set by the core.
> Thus delete an unneeded initialisation.
> 
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
> Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
> ---

Acked-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>

Thanks,
Charles

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web