summaryrefslogtreecommitdiffstats
path: root/kernel/irq_work.c
diff options
context:
space:
mode:
authorAndy Shevchenko <andy.shevchenko@gmail.com>2021-05-10 11:50:32 +0200
committerPavel Machek <pavel@ucw.cz>2021-05-28 12:00:13 +0200
commit2f39f68cec0a19c0371c1e7cb149159810e87f64 (patch)
treefdc69ec3acd8841aaaca429086603341f938c4cc /kernel/irq_work.c
parentleds: lm3532: select regmap I2C API (diff)
downloadlinux-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