Skip to content
Commit d1a23bca authored by Phil Elwell's avatar Phil Elwell Committed by popcornmix
Browse files

leds-gpio: Remove stray assignment to brightness_set



The brightness_set method is intended for use cases that must not
block, and can only be used if the GPIO provider can never sleep.
Remove an accidental initialisation (a copy-and-paste error) that
sets it regardless, which has been seen to cause crashes with the
gpio expander driver.

Signed-off-by: default avatarPhil Elwell <phil@raspberrypi.org>
parent b90200e1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment