Skip to content

Commit 2532a39

Browse files
committed
Merge remote-tracking branch 'regulator/topic/tps6586x' into regulator-next
2 parents e11678e + 712c967 commit 2532a39

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎drivers/regulator/tps6586x-regulator.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ static struct tps6586x_platform_data *tps6586x_parse_regulator_dt(
298298
struct tps6586x_platform_data *pdata;
299299
int err;
300300

301-
regs = of_find_node_by_name(np, "regulators");
301+
regs = of_get_child_by_name(np, "regulators");
302302
if (!regs) {
303303
dev_err(&pdev->dev, "regulator node not found\n");
304304
return NULL;

0 commit comments

Comments
 (0)