Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 3593a6d6 authored by Richard Purdie's avatar Richard Purdie
Browse files

leds: Fix trigger unregister_simple if register_simple fails



Fix led_trigger_unregister_simple to handle the case where
led_trigger_register_simple fails, avoiding a NULL pointer
dereference.

Signed-off-by: default avatarRichard Purdie <rpurdie@rpsys.net>
parent 66242f7e
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