diff options
author | Andy Shevchenko <[email protected]> | 2021-05-10 12:50:40 +0300 |
---|---|---|
committer | Pavel Machek <[email protected]> | 2021-05-28 12:00:15 +0200 |
commit | f1e1d532da7e6ef355528a22fb97d9a8fbf76c4e (patch) | |
tree | 5e8e3ad7f99538113180c93af6ee46888be5cc6a /scripts/gdb/linux/tasks.py | |
parent | 807553f8bf4afa673750e52905e0f9488179112f (diff) |
leds: lp50xx: Put fwnode in error case during ->probe()
fwnode_for_each_child_node() bumps a reference counting of a returned variable.
We have to balance it whenever we return to the caller.
OTOH, the successful iteration will drop reference count under the hood, no need
to do it twice.
Fixes: 242b81170fb8 ("leds: lp50xx: Add the LP50XX family of the RGB LED driver")
Cc: Dan Murphy <[email protected]>
Signed-off-by: Andy Shevchenko <[email protected]>
Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions