Commit a4a751f
committed
regulator: qcom-labibb: Fix missing of_node_put() in qcom_labibb_regulator_probe()
Bugzilla: https://bugzilla.redhat.com/2157968
commit cf34ac6
Author: Yuan Can <yuancan@huawei.com>
Date: Sat Dec 3 06:21:09 2022 +0000
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: 390af53 ("regulator: qcom-labibb: Implement short-circuit and over-current IRQs")
Signed-off-by: Yuan Can <yuancan@huawei.com>
Link: https://lore.kernel.org/r/20221203062109.115043-1-yuancan@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Adrien Thierry <athierry@redhat.com>1 parent a2a1228 commit a4a751f
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
822 | 822 | | |
823 | 823 | | |
824 | 824 | | |
| 825 | + | |
825 | 826 | | |
826 | 827 | | |
827 | 828 | | |
| |||
0 commit comments