Re: [PATCH v1 2/2] leds: lp8860: Remove duplicate NULL checks

From: Lee Jones
Date: Fri Mar 03 2023 - 05:31:12 EST


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@xxxxxxxxxxxxxxx>
> ---
> drivers/leds/leds-lp8860.c | 9 +++------
> 1 file changed, 3 insertions(+), 6 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]