Skip to content

Commit ffe6989

Browse files
committed
Merge tag 'v7.0-rockchip-drvfixes1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip into arm/fixes
Fixing a missing of_node_put() call. * tag 'v7.0-rockchip-drvfixes1' of ssh://gitolite.kernel.org/pub/scm/linux/kernel/git/mmind/linux-rockchip: soc: rockchip: grf: Add missing of_node_put() when returning Signed-off-by: Krzysztof Kozlowski <krzk@kernel.org>
2 parents 9e22e9c + 24ed11e commit ffe6989

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/soc/rockchip

drivers/soc/rockchip/grf.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -231,6 +231,7 @@ static int __init rockchip_grf_init(void)
231231
grf = syscon_node_to_regmap(np);
232232
if (IS_ERR(grf)) {
233233
pr_err("%s: could not get grf syscon\n", __func__);
234+
of_node_put(np);
234235
return PTR_ERR(grf);
235236
}
236237

0 commit comments

Comments
 (0)