diff options
| author | Stephen Kitt <[email protected]> | 2022-06-07 19:23:30 +0000 |
|---|---|---|
| committer | Helge Deller <[email protected]> | 2023-01-09 08:57:50 +0000 |
| commit | 1535ec976414d2ea8d29d40da6b5b99c91e0f2bf (patch) | |
| tree | 6387b76cee96c8d0ca97038c413b2cd26b7f1d09 /drivers/fpga/microchip-spi.c | |
| parent | fbdev: aty128fb: Use backlight helper (diff) | |
| download | kernel-1535ec976414d2ea8d29d40da6b5b99c91e0f2bf.tar.gz kernel-1535ec976414d2ea8d29d40da6b5b99c91e0f2bf.zip | |
fbdev: atyfb: Use backlight helper
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 <[email protected]>
Cc: Helge Deller <[email protected]>
Cc: [email protected]
Cc: [email protected]
Reviewed-by: Daniel Thompson <[email protected]>
Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'drivers/fpga/microchip-spi.c')
0 files changed, 0 insertions, 0 deletions
