diff options
author | Yuan Can <yuancan@huawei.com> | 2022-12-03 09:21:09 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2022-12-07 17:19:18 +0300 |
commit | cf34ac6aa2b12fb0c3aacfdcae8acd7904b949ec (patch) | |
tree | 2ab95a16c2c69cd665ed9dd1b6d9f2d09e003784 /drivers/regulator/of_regulator.c | |
parent | 1d2633848e742be3e4dc2a7c064088a18b4756d8 (diff) | |
download | linux-cf34ac6aa2b12fb0c3aacfdcae8acd7904b949ec.tar.xz |
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: 390af53e0411 ("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>
Diffstat (limited to 'drivers/regulator/of_regulator.c')
0 files changed, 0 insertions, 0 deletions