lkml.org 
[lkml]   [2023]   [Mar]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v1 2/2] leds: lp8860: Remove duplicate NULL checks
On Wed, 15 Feb 2023, Andy Shevchenko wrote:

> gpiod_*() API check already for the NULL, no need
> to repeat that in the driver.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
> drivers/leds/leds-lp8860.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]

\
 
 \ /
  Last update: 2023-03-27 00:43    [W:0.038 / U:0.772 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site