summaryrefslogtreecommitdiffstats
path: root/drivers/leds/leds-el15203000.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-10 11:50:43 +0200
committerPavel Machek <pavel@ucw.cz>2021-05-28 12:00:16 +0200
commit95138e01275e1af3f1fc2780fe1d9c6138b29c7a (patch)
tree7a83ae4e08ad3ba0f8b80b0ffe7522bd49483052 /drivers/leds/leds-el15203000.c
parentleds: lt3593: Make use of device properties (diff)
downloadlinux-95138e01275e1af3f1fc2780fe1d9c6138b29c7a.tar.xz
linux-95138e01275e1af3f1fc2780fe1d9c6138b29c7a.zip
leds: pwm: Make error handling more robust
It's easy to miss necessary clean up, e.g. firmware node reference counting, during error path in ->probe(). Make it more robust by moving to a single point of return. Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-el15203000.c')
0 files changed, 0 insertions, 0 deletions