Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b7db01f3 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mark Brown
Browse files

regulator: s5m8767: Add missing of_node_put



Add of_node_put to decrement the ref count.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Signed-off-by: default avatarMark Brown <broonie@linaro.org>
parent 4e52c03d
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -591,6 +591,8 @@ static int s5m8767_pmic_dt_parse_pdata(struct platform_device *pdev,
		rmode++;
	}

	of_node_put(regulators_np);

	if (of_get_property(pmic_np, "s5m8767,pmic-buck2-uses-gpio-dvs", NULL)) {
		pdata->buck2_gpiodvs = true;