commit | e1012160bbbca92d67c729f68108734b7d679db9 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andy.shevchenko@gmail.com> | Mon May 10 12:50:21 2021 +0300 |
committer | Pavel Machek <pavel@ucw.cz> | Fri May 28 12:05:29 2021 +0200 |
tree | a264f8b9b6a758fd54dcdb656c1a210730648b37 | |
parent | 95138e01275e1af3f1fc2780fe1d9c6138b29c7a [diff] |
leds: el15203000: 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>