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

- From: Daniel Thompson \<hidden\>
- Date: 2023-01-09 11:05:16 
- List: linux-fbdev
- Page: https://ratatoskr.run/linux-fbdev/2023/01/2059453
- Thread: https://ratatoskr.run/linux-fbdev/2023/01/2058457/t.md

```text
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.
```
