Thread (2 messages) 2 messages, 2 authors, 2023-05-25

Re: [PATCH] backlight: pwm_bl: Remove unneeded checks for valid GPIOs

From: Lee Jones <lee@kernel.org>
Date: 2023-05-25 11:28:33
Also in: dri-devel, linux-gpio, linux-pwm, lkml

On Tue, 23 May 2023, Geert Uytterhoeven wrote:
All of gpiod_set_value_cansleep() and gpiod_direction_output() handle
NULL GPIO pointers just fine, so there is no need to check for that in
the caller.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
---
 drivers/video/backlight/pwm_bl.c | 9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)
Applied, thanks

-- 
Lee Jones [李琼斯]
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help