All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 11:12 ` SF Markus Elfring
  0 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-15 11:12 UTC (permalink / raw)
  To: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen
  Cc: LKML, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 13:03:29 +0200

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

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/video/backlight/tosa_bl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 83742d8..9706759 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
 static struct i2c_driver tosa_bl_driver = {
 	.driver = {
 		.name		= "tosa-bl",
-		.owner		= THIS_MODULE,
 		.pm		= &tosa_bl_pm_ops,
 	},
 	.probe		= tosa_bl_probe,
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 11:12 ` SF Markus Elfring
  0 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-15 11:12 UTC (permalink / raw)
  To: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen
  Cc: LKML, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Mon, 15 Aug 2016 13:03:29 +0200

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

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
---
 drivers/video/backlight/tosa_bl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 83742d8..9706759 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
 static struct i2c_driver tosa_bl_driver = {
 	.driver = {
 		.name		= "tosa-bl",
-		.owner		= THIS_MODULE,
 		.pm		= &tosa_bl_pm_ops,
 	},
 	.probe		= tosa_bl_probe,
-- 
2.9.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH] backlight-tosa: Delete owner assignment
  2016-08-15 11:12 ` SF Markus Elfring
@ 2016-08-15 11:39   ` Vegard Nossum
  -1 siblings, 0 replies; 16+ messages in thread
From: Vegard Nossum @ 2016-08-15 11:39 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On 15 August 2016 at 13:12, SF Markus Elfring
<elfring@users.sourceforge.net> wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 15 Aug 2016 13:03:29 +0200
>
> The field "owner" is set by core. Thus delete an extra initialisation.

Hi,

Just a small nit on the patch title: "delete owner assignment" is
virtually useless as a title because it has no meaning without the
broader context and only describes the literal change. It's like
naming a patch "add a line" or "change the code"; it serves no
purpose.

How about "backlight-tosa: delete _unnecessary_ assignment"? This
immediately communicates the reason for/intent of the patch (there is
unnecessary code, thus we can simplify it).

(Sorry about singling out this patch and the apparent bikeshedding,
this comment obviously applies to a lot of patches by a lot of
authors!)

Thanks,


Vegard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 11:39   ` Vegard Nossum
  0 siblings, 0 replies; 16+ messages in thread
From: Vegard Nossum @ 2016-08-15 11:39 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On 15 August 2016 at 13:12, SF Markus Elfring
<elfring@users.sourceforge.net> wrote:
> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Mon, 15 Aug 2016 13:03:29 +0200
>
> The field "owner" is set by core. Thus delete an extra initialisation.

Hi,

Just a small nit on the patch title: "delete owner assignment" is
virtually useless as a title because it has no meaning without the
broader context and only describes the literal change. It's like
naming a patch "add a line" or "change the code"; it serves no
purpose.

How about "backlight-tosa: delete _unnecessary_ assignment"? This
immediately communicates the reason for/intent of the patch (there is
unnecessary code, thus we can simplify it).

(Sorry about singling out this patch and the apparent bikeshedding,
this comment obviously applies to a lot of patches by a lot of
authors!)

Thanks,


Vegard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: backlight-tosa: Delete owner assignment
  2016-08-15 11:39   ` Vegard Nossum
@ 2016-08-15 13:25     ` SF Markus Elfring
  -1 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-15 13:25 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, kernel-janitors, Julia Lawall

>> The field "owner" is set by core. Thus delete an extra initialisation.
> 
> Just a small nit on the patch title: "delete owner assignment" is
> virtually useless as a title because it has no meaning without the
> broader context and only describes the literal change. It's like
> naming a patch "add a line" or "change the code";
> it serves no purpose.

I have got an other impression.

Do you want that I add any more background information to the
commit message?


> How about "backlight-tosa: delete _unnecessary_ assignment"?

Will the underlined key word trigger any related software
development concerns?

Would another look be needed on how the usage of the mentioned data
structure element was reduced over time?

Regards,
Markus

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: backlight-tosa: Delete owner assignment
@ 2016-08-15 13:25     ` SF Markus Elfring
  0 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-15 13:25 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, kernel-janitors, Julia Lawall

>> The field "owner" is set by core. Thus delete an extra initialisation.
> 
> Just a small nit on the patch title: "delete owner assignment" is
> virtually useless as a title because it has no meaning without the
> broader context and only describes the literal change. It's like
> naming a patch "add a line" or "change the code";
> it serves no purpose.

I have got an other impression.

Do you want that I add any more background information to the
commit message?


> How about "backlight-tosa: delete _unnecessary_ assignment"?

Will the underlined key word trigger any related software
development concerns?

Would another look be needed on how the usage of the mentioned data
structure element was reduced over time?

Regards,
Markus

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: backlight-tosa: Delete owner assignment
  2016-08-15 13:25     ` SF Markus Elfring
@ 2016-08-15 13:37       ` Vegard Nossum
  -1 siblings, 0 replies; 16+ messages in thread
From: Vegard Nossum @ 2016-08-15 13:37 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On 15 August 2016 at 15:25, SF Markus Elfring
<elfring@users.sourceforge.net> wrote:
>>> The field "owner" is set by core. Thus delete an extra initialisation.
>>
>> Just a small nit on the patch title: "delete owner assignment" is
>> virtually useless as a title because it has no meaning without the
>> broader context and only describes the literal change. It's like
>> naming a patch "add a line" or "change the code";
>> it serves no purpose.
>
> I have got an other impression.
>
> Do you want that I add any more background information to the
> commit message?

No, the rest of the commit message is fine. I was only concerned about
the patch title (the first line) since that's what appears frequently
in patch lists (cgit, shortlogs, email/archives), etc.

>> How about "backlight-tosa: delete _unnecessary_ assignment"?
>
> Will the underlined key word trigger any related software
> development concerns?

No, the emphasis was just for the email, I wouldn't put that in the
actual commit log.

> Would another look be needed on how the usage of the mentioned data
> structure element was reduced over time?

No, it's fine, it's really just about the patch title :-) Thanks,


Vegard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: backlight-tosa: Delete owner assignment
@ 2016-08-15 13:37       ` Vegard Nossum
  0 siblings, 0 replies; 16+ messages in thread
From: Vegard Nossum @ 2016-08-15 13:37 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: linux-fbdev, Jean-Christophe Plagniol-Villard, Jingoo Han,
	Lee Jones, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On 15 August 2016 at 15:25, SF Markus Elfring
<elfring@users.sourceforge.net> wrote:
>>> The field "owner" is set by core. Thus delete an extra initialisation.
>>
>> Just a small nit on the patch title: "delete owner assignment" is
>> virtually useless as a title because it has no meaning without the
>> broader context and only describes the literal change. It's like
>> naming a patch "add a line" or "change the code";
>> it serves no purpose.
>
> I have got an other impression.
>
> Do you want that I add any more background information to the
> commit message?

No, the rest of the commit message is fine. I was only concerned about
the patch title (the first line) since that's what appears frequently
in patch lists (cgit, shortlogs, email/archives), etc.

>> How about "backlight-tosa: delete _unnecessary_ assignment"?
>
> Will the underlined key word trigger any related software
> development concerns?

No, the emphasis was just for the email, I wouldn't put that in the
actual commit log.

> Would another look be needed on how the usage of the mentioned data
> structure element was reduced over time?

No, it's fine, it's really just about the patch title :-) Thanks,


Vegard

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH] backlight-tosa: Delete owner assignment
  2016-08-15 11:39   ` Vegard Nossum
  (?)
@ 2016-08-15 13:46     ` Lee Jones
  -1 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-15 13:46 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: SF Markus Elfring, linux-fbdev, Jean-Christophe Plagniol-Villard,
	Jingoo Han, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On Mon, 15 Aug 2016, Vegard Nossum wrote:

> On 15 August 2016 at 13:12, SF Markus Elfring
> <elfring@users.sourceforge.net> wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Mon, 15 Aug 2016 13:03:29 +0200
> >
> > The field "owner" is set by core. Thus delete an extra initialisation.
> 
> Hi,
> 
> Just a small nit on the patch title: "delete owner assignment" is
> virtually useless as a title because it has no meaning without the
> broader context and only describes the literal change. It's like
> naming a patch "add a line" or "change the code"; it serves no
> purpose.
> 
> How about "backlight-tosa: delete _unnecessary_ assignment"? This
> immediately communicates the reason for/intent of the patch (there is
> unnecessary code, thus we can simplify it).

  backlight-tosa: Do not manually assign THIS_MODULE to .owner

  This is unnecessary because ...

> (Sorry about singling out this patch and the apparent bikeshedding,
> this comment obviously applies to a lot of patches by a lot of
> authors!)
> 
> Thanks,
> 
> 
> Vegard

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 13:46     ` Lee Jones
  0 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-15 13:46 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: SF Markus Elfring, linux-fbdev, Jean-Christophe Plagniol-Villard,
	Jingoo Han, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On Mon, 15 Aug 2016, Vegard Nossum wrote:

> On 15 August 2016 at 13:12, SF Markus Elfring
> <elfring@users.sourceforge.net> wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Mon, 15 Aug 2016 13:03:29 +0200
> >
> > The field "owner" is set by core. Thus delete an extra initialisation.
> 
> Hi,
> 
> Just a small nit on the patch title: "delete owner assignment" is
> virtually useless as a title because it has no meaning without the
> broader context and only describes the literal change. It's like
> naming a patch "add a line" or "change the code"; it serves no
> purpose.
> 
> How about "backlight-tosa: delete _unnecessary_ assignment"? This
> immediately communicates the reason for/intent of the patch (there is
> unnecessary code, thus we can simplify it).

  backlight-tosa: Do not manually assign THIS_MODULE to .owner

  This is unnecessary because ...

> (Sorry about singling out this patch and the apparent bikeshedding,
> this comment obviously applies to a lot of patches by a lot of
> authors!)
> 
> Thanks,
> 
> 
> Vegard

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH] backlight-tosa: Delete owner assignment
@ 2016-08-15 13:46     ` Lee Jones
  0 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-15 13:46 UTC (permalink / raw)
  To: Vegard Nossum
  Cc: SF Markus Elfring, linux-fbdev, Jean-Christophe Plagniol-Villard,
	Jingoo Han, Tomi Valkeinen, LKML, Kernel Janitors List,
	Julia Lawall

On Mon, 15 Aug 2016, Vegard Nossum wrote:

> On 15 August 2016 at 13:12, SF Markus Elfring
> <elfring@users.sourceforge.net> wrote:
> > From: Markus Elfring <elfring@users.sourceforge.net>
> > Date: Mon, 15 Aug 2016 13:03:29 +0200
> >
> > The field "owner" is set by core. Thus delete an extra initialisation.
> 
> Hi,
> 
> Just a small nit on the patch title: "delete owner assignment" is
> virtually useless as a title because it has no meaning without the
> broader context and only describes the literal change. It's like
> naming a patch "add a line" or "change the code"; it serves no
> purpose.
> 
> How about "backlight-tosa: delete _unnecessary_ assignment"? This
> immediately communicates the reason for/intent of the patch (there is
> unnecessary code, thus we can simplify it).

  backlight-tosa: Do not manually assign THIS_MODULE to .owner

  This is unnecessary because ...

> (Sorry about singling out this patch and the apparent bikeshedding,
> this comment obviously applies to a lot of patches by a lot of
> authors!)
> 
> Thanks,
> 
> 
> Vegard

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 16+ messages in thread

* [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"
  2016-08-15 11:39   ` Vegard Nossum
@ 2016-08-16 15:17     ` SF Markus Elfring
  -1 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-16 15:17 UTC (permalink / raw)
  To: Vegard Nossum, Tomi Valkeinen, Lee Jones, Jingoo Han,
	Jean-Christophe Plagniol-Villard, linux-fbdev
  Cc: linux-kernel, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 17:10:12 +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>
---

v2: The commit message was adjusted.

 drivers/video/backlight/tosa_bl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 83742d8..9706759 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
 static struct i2c_driver tosa_bl_driver = {
 	.driver = {
 		.name		= "tosa-bl",
-		.owner		= THIS_MODULE,
 		.pm		= &tosa_bl_pm_ops,
 	},
 	.probe		= tosa_bl_probe,
-- 
2.9.2

^ permalink raw reply related	[flat|nested] 16+ messages in thread

* [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"
@ 2016-08-16 15:17     ` SF Markus Elfring
  0 siblings, 0 replies; 16+ messages in thread
From: SF Markus Elfring @ 2016-08-16 15:17 UTC (permalink / raw)
  To: Vegard Nossum, Tomi Valkeinen, Lee Jones, Jingoo Han,
	Jean-Christophe Plagniol-Villard, linux-fbdev
  Cc: linux-kernel, kernel-janitors, Julia Lawall

From: Markus Elfring <elfring@users.sourceforge.net>
Date: Tue, 16 Aug 2016 17:10:12 +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>
---

v2: The commit message was adjusted.

 drivers/video/backlight/tosa_bl.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
index 83742d8..9706759 100644
--- a/drivers/video/backlight/tosa_bl.c
+++ b/drivers/video/backlight/tosa_bl.c
@@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
 static struct i2c_driver tosa_bl_driver = {
 	.driver = {
 		.name		= "tosa-bl",
-		.owner		= THIS_MODULE,
 		.pm		= &tosa_bl_pm_ops,
 	},
 	.probe		= tosa_bl_probe,
-- 
2.9.2


^ permalink raw reply related	[flat|nested] 16+ messages in thread

* Re: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"
  2016-08-16 15:17     ` SF Markus Elfring
  (?)
@ 2016-08-17  9:49       ` Lee Jones
  -1 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-17  9:49 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: Vegard Nossum, Tomi Valkeinen, Jingoo Han,
	Jean-Christophe Plagniol-Villard, linux-fbdev, linux-kernel,
	kernel-janitors, Julia Lawall

On Tue, 16 Aug 2016, SF Markus Elfring wrote:

> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 17:10:12 +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>
> ---
> 
> v2: The commit message was adjusted.
> 
>  drivers/video/backlight/tosa_bl.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
> index 83742d8..9706759 100644
> --- a/drivers/video/backlight/tosa_bl.c
> +++ b/drivers/video/backlight/tosa_bl.c
> @@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
>  static struct i2c_driver tosa_bl_driver = {
>  	.driver = {
>  		.name		= "tosa-bl",
> -		.owner		= THIS_MODULE,
>  		.pm		= &tosa_bl_pm_ops,
>  	},
>  	.probe		= tosa_bl_probe,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"
@ 2016-08-17  9:49       ` Lee Jones
  0 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-17  9:49 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: Vegard Nossum, Tomi Valkeinen, Jingoo Han,
	Jean-Christophe Plagniol-Villard, linux-fbdev, linux-kernel,
	kernel-janitors, Julia Lawall

On Tue, 16 Aug 2016, SF Markus Elfring wrote:

> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 17:10:12 +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>
> ---
> 
> v2: The commit message was adjusted.
> 
>  drivers/video/backlight/tosa_bl.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
> index 83742d8..9706759 100644
> --- a/drivers/video/backlight/tosa_bl.c
> +++ b/drivers/video/backlight/tosa_bl.c
> @@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
>  static struct i2c_driver tosa_bl_driver = {
>  	.driver = {
>  		.name		= "tosa-bl",
> -		.owner		= THIS_MODULE,
>  		.pm		= &tosa_bl_pm_ops,
>  	},
>  	.probe		= tosa_bl_probe,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe kernel-janitors" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 16+ messages in thread

* Re: [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner"
@ 2016-08-17  9:49       ` Lee Jones
  0 siblings, 0 replies; 16+ messages in thread
From: Lee Jones @ 2016-08-17  9:49 UTC (permalink / raw)
  To: SF Markus Elfring
  Cc: Vegard Nossum, Tomi Valkeinen, Jingoo Han,
	Jean-Christophe Plagniol-Villard, linux-fbdev, linux-kernel,
	kernel-janitors, Julia Lawall

On Tue, 16 Aug 2016, SF Markus Elfring wrote:

> From: Markus Elfring <elfring@users.sourceforge.net>
> Date: Tue, 16 Aug 2016 17:10:12 +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>
> ---
> 
> v2: The commit message was adjusted.
> 
>  drivers/video/backlight/tosa_bl.c | 1 -
>  1 file changed, 1 deletion(-)

Applied, thanks.

> diff --git a/drivers/video/backlight/tosa_bl.c b/drivers/video/backlight/tosa_bl.c
> index 83742d8..9706759 100644
> --- a/drivers/video/backlight/tosa_bl.c
> +++ b/drivers/video/backlight/tosa_bl.c
> @@ -163,7 +163,6 @@ MODULE_DEVICE_TABLE(i2c, tosa_bl_id);
>  static struct i2c_driver tosa_bl_driver = {
>  	.driver = {
>  		.name		= "tosa-bl",
> -		.owner		= THIS_MODULE,
>  		.pm		= &tosa_bl_pm_ops,
>  	},
>  	.probe		= tosa_bl_probe,

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2016-08-17  9:49 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-08-15 11:12 [PATCH] backlight-tosa: Delete owner assignment SF Markus Elfring
2016-08-15 11:12 ` SF Markus Elfring
2016-08-15 11:39 ` Vegard Nossum
2016-08-15 11:39   ` Vegard Nossum
2016-08-15 13:25   ` SF Markus Elfring
2016-08-15 13:25     ` SF Markus Elfring
2016-08-15 13:37     ` Vegard Nossum
2016-08-15 13:37       ` Vegard Nossum
2016-08-15 13:46   ` [PATCH] " Lee Jones
2016-08-15 13:46     ` Lee Jones
2016-08-15 13:46     ` Lee Jones
2016-08-16 15:17   ` [PATCH v2] backlight-tosa: Delete unnecessary assignment for the field "owner" SF Markus Elfring
2016-08-16 15:17     ` SF Markus Elfring
2016-08-17  9:49     ` Lee Jones
2016-08-17  9:49       ` Lee Jones
2016-08-17  9:49       ` Lee Jones

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.