提交 2532a395 编写于 作者: M Mark Brown

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

...@@ -298,7 +298,7 @@ static struct tps6586x_platform_data *tps6586x_parse_regulator_dt( ...@@ -298,7 +298,7 @@ static struct tps6586x_platform_data *tps6586x_parse_regulator_dt(
struct tps6586x_platform_data *pdata; struct tps6586x_platform_data *pdata;
int err; int err;
regs = of_find_node_by_name(np, "regulators"); regs = of_get_child_by_name(np, "regulators");
if (!regs) { if (!regs) {
dev_err(&pdev->dev, "regulator node not found\n"); dev_err(&pdev->dev, "regulator node not found\n");
return NULL; return NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册