Merge remote-tracking branch 'regulator/topic/tps65910' into regulator-next

This commit is contained in:
Mark Brown 2013-10-24 11:11:43 +01:00
commit d4d5cef649

View File

@ -982,7 +982,7 @@ static struct tps65910_board *tps65910_parse_dt_reg_data(
}
np = of_node_get(pdev->dev.parent->of_node);
regulators = of_find_node_by_name(np, "regulators");
regulators = of_get_child_by_name(np, "regulators");
if (!regulators) {
dev_err(&pdev->dev, "regulator node not found\n");
return NULL;