diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 11:50:32 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 12:00:13 +0200 |
commit | 2f39f68cec0a19c0371c1e7cb149159810e87f64 (patch) | |
tree | fdc69ec3acd8841aaaca429086603341f938c4cc /kernel/irq_work.c | |
parent | leds: lm3532: select regmap I2C API (diff) | |
download | linux-2f39f68cec0a19c0371c1e7cb149159810e87f64.tar.xz linux-2f39f68cec0a19c0371c1e7cb149159810e87f64.zip |
leds: lm3532: 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 'kernel/irq_work.c')
0 files changed, 0 insertions, 0 deletions