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

Daniel Thompson daniel.thompson at linaro.org
Mon Jan 9 11:04:34 UTC 2023


On Sat, Jan 07, 2023 at 07:26:28PM +0100, Sam Ravnborg via B4 Submission Endpoint wrote:
> From: Stephen Kitt <steve at sk2.org>
>
> 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>
> Signed-off-by: Sam Ravnborg <sam at ravnborg.org>

Just for completeness...
Reviewed-by: Daniel Thompson <daniel.thompson at linaro.org>


Daniel.


More information about the dri-devel mailing list