mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
regulator: s5m8767: Add missing of_node_put
Add of_node_put to decrement the ref count. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Mark Brown <broonie@linaro.org>
This commit is contained in:
parent
4e52c03dfc
commit
b7db01f3b3
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user