commit | d299ae942e0201ce3419501f523fbaac989dd036 | [log] [tgz] |
---|---|---|
author | Andy Shevchenko <andy.shevchenko@gmail.com> | Sat May 29 14:19:32 2021 +0300 |
committer | Pavel Machek <pavel@ucw.cz> | Tue Aug 03 23:49:31 2021 +0200 |
tree | d9b6fb9611f5caa7d5f0691e8e3ccb11f5fdde13 | |
parent | 3a923639d36b1c54866236c2f53d112b797b0101 [diff] |
leds: lm3697: 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>