summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-menf21bmc.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/leds-menf21bmc.c
parentleds: gpio: switch to managed version of led_classdev_register (diff)
downloadlinux-74b69e5246d13840963b7b23e21dbab541cb26d2.tar.xz
linux-74b69e5246d13840963b7b23e21dbab541cb26d2.zip
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/leds-menf21bmc.c')
0 files changed, 0 insertions, 0 deletions