diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2016-09-14 20:55:43 +0200 |
---|---|---|
committer | Jacek Anaszewski <j.anaszewski@samsung.com> | 2016-09-15 16:49:43 +0200 |
commit | 74b69e5246d13840963b7b23e21dbab541cb26d2 (patch) | |
tree | 1b1d3c6db1a207331486d1e8bc4452ffcfa9bf24 /drivers/leds/leds-menf21bmc.c | |
parent | leds: gpio: switch to managed version of led_classdev_register (diff) | |
download | linux-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