mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-02 15:18:19 +00:00
Merge remote-tracking branch 'regulator/topic/tps6586x' into regulator-next
This commit is contained in:
commit
2532a39500
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue