Thread (7 messages) 7 messages, 3 authors, 2016-08-17

Re: [PATCH] backlight-tosa: Delete owner assignment

From: Lee Jones <hidden>
Date: 2016-08-15 13:44:44
Also in: kernel-janitors, lkml

On Mon, 15 Aug 2016, Vegard Nossum wrote:
On 15 August 2016 at 13:12, SF Markus Elfring
[off-list ref] wrote:
quoted
From: Markus Elfring <redacted>
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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help