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

Daniel Thompson daniel.thompson at linaro.org
Mon Jan 9 10:17:05 UTC 2023


On Fri, Jan 06, 2023 at 05:48:53PM +0100, 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 at sk2.org>

For the tools:
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


D.


More information about the dri-devel mailing list