aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorStephen Kitt <[email protected]>2022-06-07 21:23:33 +0200
committerHelge Deller <[email protected]>2023-01-09 09:57:51 +0100
commit1cc17590ddfec590d7301f5e4cf6183ea19afa25 (patch)
tree66c4d135a692ba2bb5834384f0011554c33a82ca /drivers/fpga/fpga-bridge.c
parent973fcf37c267f937fbec656f4643571d7bd09a37 (diff)
fbdev: nvidia: 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: Antonino Daplas <[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