Re: [PATCH 14/15] backlight: tosa: Use backlight helper

From
Daniel Thompson <hidden>
Date
2023-01-09 11:05:16
Also in
dri-devel, linux-arm-kernel, linux-fbdev, linux-omap, linux-staging, lkml
Reply to
Sam Ravnborg via B4 Submission Endpoint, 2023-01-07
On Sat, Jan 07, 2023 at 07:26:28PM +0100, Sam Ravnborg via B4 Submission Endpoint wrote:
From: Stephen Kitt <redacted>

Instead of retrieving the backlight brightness in struct
backlight_properties manually, and then checking whether the backlight
should be on at all, use backlight_get_brightness() which does all
this and insulates this from future changes.

Signed-off-by: Stephen Kitt <redacted>
Signed-off-by: Sam Ravnborg <redacted>
Just for completeness...
Reviewed-by: Daniel Thompson <redacted>


Daniel.
Thread (52 messages) 52 messages, 11 authors, last reply 2023-03-19
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help