summaryrefslogtreecommitdiff
path: root/drivers/sh/pm_runtime.c
diff options
context:
space:
mode:
authorJacek Anaszewski <j.anaszewski@samsung.com>2015-04-16 07:30:50 (GMT)
committerBryan Wu <cooloney@gmail.com>2015-05-04 18:05:55 (GMT)
commit0e14e0bfe85dd22ba19446bdfdc2cf0e941b9731 (patch)
tree4c90be2e36cd4fd4874cc6e9e6f867028547720b /drivers/sh/pm_runtime.c
parent65c6b7e3ab70effc150dacc9c2fbd6581925dd53 (diff)
downloadlinux-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 'drivers/sh/pm_runtime.c')
0 files changed, 0 insertions, 0 deletions