Re: [PATCH] backlight: l4f00242t03: Add check for spi_setup

2024-07-05 Thread Daniel Thompson
On Fri, Jul 05, 2024 at 04:38:34PM +0800, Chen Ni wrote: > Add check for the return value of spi_setup() and return the error > if it fails in order to catch the error. > > Signed-off-by: Chen Ni > --- > drivers/video/backlight/l4f00242t03.c | 5 - > 1 file changed, 4 insertions(+), 1 deletio

[PATCH] backlight: l4f00242t03: Add check for spi_setup

2024-07-05 Thread Chen Ni
Add check for the return value of spi_setup() and return the error if it fails in order to catch the error. Signed-off-by: Chen Ni --- drivers/video/backlight/l4f00242t03.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/drivers/video/backlight/l4f00242t03.c b/drivers/vi