diff options
author | Andy Shevchenko <[email protected]> | 2021-05-10 12:50:32 +0300 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2021-05-28 12:00:13 +0200 |
commit | 2f39f68cec0a19c0371c1e7cb149159810e87f64 (patch) | |
tree | fdc69ec3acd8841aaaca429086603341f938c4cc /lib/mpi/mpi-sub-ui.c | |
parent | 99be74f61cb0292b518f5e6d7e5c6611555c2ec7 (diff) |
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 <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions