diff --git a/drivers/regulator/s2mps11.c b/drivers/regulator/s2mps11.c index 906d764e98a8e7c83b8cb2345eb232a9310d4459..1f6fd4c45006e93e56805ce65e3128c4a87103e5 100644 --- a/drivers/regulator/s2mps11.c +++ b/drivers/regulator/s2mps11.c @@ -624,6 +624,7 @@ static int s2mps11_pmic_probe(struct platform_device *pdev) } of_regulator_match(&pdev->dev, reg_np, rdata, s2mps11->rdev_num); + of_node_put(reg_np); common_reg: platform_set_drvdata(pdev, s2mps11);