[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230713100241.GI10768@google.com>
Date: Thu, 13 Jul 2023 11:02:41 +0100
From: Lee Jones <lee@...nel.org>
To: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
Cc: pavel@....cz, robh+dt@...nel.org,
krzysztof.kozlowski+dt@...aro.org, conor+dt@...nel.org,
linux-leds@...r.kernel.org, devicetree@...r.kernel.org,
linux-kernel@...r.kernel.org,
Andy Shevchenko <andy.shevchenko@...il.com>
Subject: Re: [PATCH v10 2/5] leds: provide devm_of_led_get_optional()
On Sat, 24 Jun 2023, Jean-Jacques Hiblot wrote:
> This version of devm_of_led_get() doesn't fail if a LED is not found.
> Instead it returns a NULL pointer.
>
> Signed-off-by: Jean-Jacques Hiblot <jjhiblot@...phandler.com>
> Reviewed-by: Andy Shevchenko <andy.shevchenko@...il.com>
> ---
> drivers/leds/led-class.c | 25 +++++++++++++++++++++++++
> include/linux/leds.h | 2 ++
> 2 files changed, 27 insertions(+)
What Markus said isn't wrong, but isn't a blocker either. He's just
repeating Linus' preferences with respect to commit logs. Ideally you
should be explaining what the problem is and what this patch does to
solve it in a manner that is more directing and less explanatory in the
past tense.
--
Lee Jones [李琼斯]
Powered by blists - more mailing lists