aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2022-06-07 21:23:31 +0200
committerHelge Deller <[email protected]>2023-01-09 09:57:50 +0100
commitc28509ef9c221378a586e72643fc43102f5512e9 (patch)
tree0a1880b58d097611acd2b0e345018d15abdac7b3 /drivers/fpga/fpga-bridge.c
parent1535ec976414d2ea8d29d40da6b5b99c91e0f2bf (diff)
fbdev: radeon: 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: Benjamin Herrenschmidt <[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/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions