aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/regulator/tps6507x-regulator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/tps6507x-regulator.c b/drivers/regulator/tps6507x-regulator.c
index afdeb65b6a4d..54aa2da7283b 100644
--- a/drivers/regulator/tps6507x-regulator.c
+++ b/drivers/regulator/tps6507x-regulator.c
@@ -394,7 +394,7 @@ static struct tps6507x_board *tps6507x_parse_dt_reg_data(
394 count = ARRAY_SIZE(tps6507x_matches); 394 count = ARRAY_SIZE(tps6507x_matches);
395 matches = tps6507x_matches; 395 matches = tps6507x_matches;
396 396
397 ret = of_regulator_match(pdev->dev.parent, regulators, matches, count); 397 ret = of_regulator_match(&pdev->dev, regulators, matches, count);
398 if (ret < 0) { 398 if (ret < 0) {
399 dev_err(&pdev->dev, "Error parsing regulator init data: %d\n", 399 dev_err(&pdev->dev, "Error parsing regulator init data: %d\n",
400 ret); 400 ret);