aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/fixed-helper.c
diff options
context:
space:
mode:
authorMiaoqian Lin2022-05-11 15:35:05 +0400
committerMark Brown2022-05-11 17:42:17 +0100
commitafaa7b933ef00a2d3262f4d1252087613fb5c06d (patch)
treeaccd4d82ac3dfc54311173774fd047c9f0162313 /drivers/regulator/fixed-helper.c
parentac87e588b49302a9b9ff71c3b5c074eb5ab1fc4e (diff)
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: 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>
Diffstat (limited to 'drivers/regulator/fixed-helper.c')
0 files changed, 0 insertions, 0 deletions