Skip to content
Unverified Commit afaa7b93 authored by Miaoqian Lin's avatar Miaoqian Lin Committed by Mark Brown
Browse files

regulator: pfuze100: Fix refcount leak in pfuze_parse_regulators_dt

of_node_get() returns a node with refcount incremented.
Calling of_node_put() to drop the reference when not needed anymore.

Fixes: 3784b6d6

 ("regulator: pfuze100: add pfuze100 regulator driver")
Signed-off-by: default avatarMiaoqian Lin <linmq006@gmail.com>
Link: https://lore.kernel.org/r/20220511113506.45185-1-linmq006@gmail.com
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent ac87e588
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment