Sfoglia il codice sorgente

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

Mark Brown 13 anni fa
parent
commit
53e5da79fa
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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);