diff options
author | Miaoqian Lin <linmq006@gmail.com> | 2022-05-11 15:35:05 +0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 16:59:22 +0200 |
commit | 984cfef0675ed7398814e14af2c5323911723e1c (patch) | |
tree | 2818302c48a8b2c5ebd88527e309634c7606e6fe /scripts | |
parent | 30d110ca703ce60162ec337aa564a3e4da30715f (diff) | |
download | linux-stable-984cfef0675ed7398814e14af2c5323911723e1c.tar.gz linux-stable-984cfef0675ed7398814e14af2c5323911723e1c.tar.bz2 linux-stable-984cfef0675ed7398814e14af2c5323911723e1c.zip |
regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt
[ Upstream commit afaa7b933ef00a2d3262f4d1252087613fb5c06d ]
of_node_get() returns a node with refcount incremented.
Calling of_node_put() to drop the reference when not needed anymore.
Fixes: 3784b6d64dc5 ("regulator: pfuze100: add pfuze100 regulator driver")
Signed-off-by: Miaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220511113506.45185-1-linmq006@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions