summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorLuca Weiss <luca@z3ntu.xyz>2024-02-20 00:11:20 +0100
committerLee Jones <lee@kernel.org>2024-03-07 09:03:29 +0000
commit4bf7ddd2d2f0f8826f25f74c7eba4e2c323a1446 (patch)
tree87f9ed7118447f662b21bf1da64d37d9cc9234cb /drivers/pci/controller/dwc
parentad9aeb0e3aa90ebdad5fabf9c21783740eb95907 (diff)
backlight: lm3630a: Don't set bl->props.brightness in get_brightness
There's no need to set bl->props.brightness, the get_brightness function is just supposed to return the current brightness and not touch the struct. With that done we can also remove the 'goto out' and just return the value. Fixes: 0c2a665a648e ("backlight: add Backlight driver for lm3630 chip") Signed-off-by: Luca Weiss <luca@z3ntu.xyz> Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org> Link: https://lore.kernel.org/r/20240220-lm3630a-fixups-v1-2-9ca62f7e4a33@z3ntu.xyz Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/pci/controller/dwc')
0 files changed, 0 insertions, 0 deletions