diff options
author | Jacek Anaszewski <j.anaszewski@samsung.com> | 2015-04-16 10:30:50 +0300 |
---|---|---|
committer | Bryan Wu <cooloney@gmail.com> | 2015-05-04 21:05:55 +0300 |
commit | 0e14e0bfe85dd22ba19446bdfdc2cf0e941b9731 (patch) | |
tree | 4c90be2e36cd4fd4874cc6e9e6f867028547720b /include/linux/leds.h | |
parent | 65c6b7e3ab70effc150dacc9c2fbd6581925dd53 (diff) | |
download | linux-0e14e0bfe85dd22ba19446bdfdc2cf0e941b9731.tar.xz |
leds: gpio: Fix error handling for led name null pointer case
Make sure that already registered LEDs will be torn down properly
if the name of the next LED to create is unavailable.
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Cc: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Bryan Wu <cooloney@gmail.com>
Diffstat (limited to 'include/linux/leds.h')
0 files changed, 0 insertions, 0 deletions