Skip to content
Unverified Commit cf34ac6a authored by Yuan Can's avatar Yuan Can Committed by Mark Brown
Browse files

regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe()



The reg_node needs to be released through of_node_put() in the error
handling path when of_irq_get_byname() failed.

Fixes: 390af53e ("regulator: qcom-labibb: Implement short-circuit and over-current IRQs")
Signed-off-by: default avatarYuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20221203062109.115043-1-yuancan@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1d263384
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment