aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/microchip-spi.c
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2022-06-07 19:23:29 +0000
committerHelge Deller <[email protected]>2023-01-09 08:57:50 +0000
commit5b3fc9988d1e4be268d834c2aaae85c75fa34253 (patch)
treec605a181fd5cb704758353d063d05bf57ee3dfba /drivers/fpga/microchip-spi.c
parentLinux 6.2-rc3 (diff)
downloadkernel-5b3fc9988d1e4be268d834c2aaae85c75fa34253.tar.gz
kernel-5b3fc9988d1e4be268d834c2aaae85c75fa34253.zip
fbdev: aty128fb: 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: Paul Mackerras <[email protected]> Cc: Helge Deller <[email protected]> Cc: [email protected] Cc: [email protected] Reviewed-by: Sam Ravnborg <[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