diff options
author | Andy Shevchenko <andy.shevchenko@gmail.com> | 2021-05-10 11:50:35 +0200 |
---|---|---|
committer | Pavel Machek <pavel@ucw.cz> | 2021-05-28 12:00:14 +0200 |
commit | f55db1c7fadc2a29c9fa4ff3aec98dbb111f2206 (patch) | |
tree | 5feb1bbf72b6fe216b9f5e62a35ef6a70d80212e /drivers/leds/leds-adp5520.c | |
parent | leds: lm36274: Correct headers (of*.h -> mod_devicetable.h) (diff) | |
download | linux-f55db1c7fadc2a29c9fa4ff3aec98dbb111f2206.tar.xz linux-f55db1c7fadc2a29c9fa4ff3aec98dbb111f2206.zip |
leds: lm3692x: Put fwnode in any case during ->probe()
device_get_next_child_node() bumps a reference counting of a returned variable.
We have to balance it whenever we return to the caller.
Fixes: 9a5c1c64ac0a ("leds: lm3692x: Change DT calls to fwnode calls")
Cc: Dan Murphy <dmurphy@ti.com>
Signed-off-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
Diffstat (limited to 'drivers/leds/leds-adp5520.c')
0 files changed, 0 insertions, 0 deletions