From: Stephen Kitt <hidden> Date: 2023-01-06 17:27:44
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>
---
drivers/video/backlight/tosa_bl.c | 7 +------
1 file changed, 1 insertion(+), 6 deletions(-)
From: Sam Ravnborg <hidden> Date: 2023-01-06 17:47:47
On Fri, Jan 06, 2023 at 05:48:55PM +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 <redacted>
From: Sam Ravnborg <hidden> Date: 2023-01-06 22:26:43
On Fri, Jan 06, 2023 at 05:48:55PM +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 <redacted>
From: Daniel Thompson <hidden> Date: 2023-01-09 10:21:14
On Fri, Jan 06, 2023 at 05:48:55PM +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 <redacted>
For the tools:
Reviewed-by: Daniel Thompson <redacted>
D.