Commit ffe6989c authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski
Browse files

Merge tag 'v7.0-rockchip-drvfixes1' of...

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: default avatarKrzysztof Kozlowski <krzk@kernel.org>
parents 9e22e9c4 24ed11ee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -231,6 +231,7 @@ static int __init rockchip_grf_init(void)
		grf = syscon_node_to_regmap(np);
		if (IS_ERR(grf)) {
			pr_err("%s: could not get grf syscon\n", __func__);
			of_node_put(np);
			return PTR_ERR(grf);
		}