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/led-triggers.c | |
parent | bc2c0dd85a0a31505ca2f92bef891ddac9126725 (diff) | |
download | linux-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