Skip to content
Commit 6d19367b authored by Andy Shevchenko's avatar Andy Shevchenko Committed by Lee Jones
Browse files

leds: lp8860: Remove duplicate NULL checks for gpio_desc



gpiod_*() API check already for the NULL, no need
to repeat that in the driver.

Signed-off-by: default avatarAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: default avatarLee Jones <lee@kernel.org>
Link: https://lore.kernel.org/r/20230215170403.84449-2-andriy.shevchenko@linux.intel.com
parent 2956ad80
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment