linux/drivers/clk/berlin
Liang He 37c381b812 clk: berlin: Add of_node_put() for of_get_parent()
In berlin2_clock_setup() and berlin2q_clock_setup(), we need to
call of_node_put() for the reference returned by of_get_parent()
which has increased the refcount. We should call *_put() in fail
path or when it is not used anymore.

Fixes: 26b3b6b959 ("clk: berlin: prepare simple-mfd conversion")
Signed-off-by: Liang He <windhl@126.com>
Link: https://lore.kernel.org/r/20220708084900.311684-1-windhl@126.com
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
2022-08-19 14:50:24 -07:00
..
berlin2-avpll.c clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
berlin2-avpll.h clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
berlin2-div.c clk: Remove io.h from clk-provider.h 2019-05-15 13:21:37 -07:00
berlin2-div.h clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
berlin2-pll.c clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
berlin2-pll.h clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
bg2.c clk: berlin: Add of_node_put() for of_get_parent() 2022-08-19 14:50:24 -07:00
bg2q.c clk: berlin: Add of_node_put() for of_get_parent() 2022-08-19 14:50:24 -07:00
common.h clk: berlin: switch to SPDX license identifier 2018-06-01 11:00:30 -07:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00