aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/tps6507x-regulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c
index 5a558dad27e3..e506e7f54253 100644
--- a/drivers/regulator/tps6507x-regulator.c
+++ b/drivers/regulator/tps6507x-regulator.c
@@ -395,6 +395,7 @@ static struct tps6507x_board *tps6507x_parse_dt_reg_data(
395 matches = tps6507x_matches; 395 matches = tps6507x_matches;
396 396
397 ret = of_regulator_match(&pdev->dev, regulators, matches, count); 397 ret = of_regulator_match(&pdev->dev, regulators, matches, count);
398 of_node_put(regulators);
398 if (ret < 0) { 399 if (ret < 0) {
399 dev_err(&pdev->dev, "Error parsing regulator init data: %d\n", 400 dev_err(&pdev->dev, "Error parsing regulator init data: %d\n",
400 ret); 401 ret);