Thread (9 messages) flat view 9 messages, 3 authors, 2021-06-25

Re: [PATCH v3 1/2] backlight: lm3630a: fix return code of .update_status() callback

From: Lee Jones <hidden>
Date: 2021-06-22 13:11:08
Also in: dri-devel

On Mon, 21 Jun 2021, Uwe Kleine-König wrote:
According to <linux/backlight.h> .update_status() is supposed to
return 0 on success and a negative error code otherwise. Adapt
lm3630a_bank_a_update_status() and lm3630a_bank_b_update_status() to
actually do it.

While touching that also add the error code to the failure message.

Signed-off-by: Uwe Kleine-König <redacted>
---
 drivers/video/backlight/lm3630a_bl.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
Fixed the subject line for you and applied, thanks.

-- 
Lee Jones [李琼斯]
Senior Technical Lead - Developer Services
Linaro.org │ Open source software for Arm SoCs
Follow Linaro: Facebook | Twitter | Blog
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help