Re: [PATCH RESEND 2/4] backlight: arcxcnn: Use backlight helper

From: Lee Jones
Date: Thu Jan 19 2023 - 17:00:50 EST


On Fri, 06 Jan 2023, Stephen Kitt wrote:

> 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 <steve@xxxxxxx>
> ---
> drivers/video/backlight/arcxcnn_bl.c | 5 +----
> 1 file changed, 1 insertion(+), 4 deletions(-)

Applied, thanks

--
Lee Jones [李琼斯]