summaryrefslogtreecommitdiffstats
path: root/drivers/leds/led-triggers.c
diff options
context:
space:
mode:
authorHeiner Kallweit <hkallweit1@gmail.com>2016-09-14 20:55:43 +0200
committerJacek Anaszewski <j.anaszewski@samsung.com>2016-09-15 16:49:43 +0200
commit74b69e5246d13840963b7b23e21dbab541cb26d2 (patch)
tree1b1d3c6db1a207331486d1e8bc4452ffcfa9bf24 /drivers/leds/led-triggers.c
parentbc2c0dd85a0a31505ca2f92bef891ddac9126725 (diff)
downloadlinux-74b69e5246d13840963b7b23e21dbab541cb26d2.tar.bz2
leds: gpio: fix and simplify error handling in gpio_leds_create
Simplify the error handling and add a missing call to fwnode_handle_put when checking led.name. Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com> Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
Diffstat (limited to 'drivers/leds/led-triggers.c')
0 files changed, 0 insertions, 0 deletions