Browse Source

Merge remote-tracking branch 'regulator/fix/tps65910' into tmp

Mark Brown 12 years ago
parent
commit
53e5da79fa
1 changed files with 1 additions and 1 deletions
  1. 1 1
      drivers/regulator/tps65910-regulator.c

+ 1 - 1
drivers/regulator/tps65910-regulator.c

@@ -998,7 +998,7 @@ static struct tps65910_board *tps65910_parse_dt_reg_data(
 		return NULL;
 	}
 
-	ret = of_regulator_match(pdev->dev.parent, regulators, matches, count);
+	ret = of_regulator_match(&pdev->dev, regulators, matches, count);
 	if (ret < 0) {
 		dev_err(&pdev->dev, "Error parsing regulator init data: %d\n",
 			ret);