diff options
Diffstat (limited to 'drivers/regulator/rk808-regulator.c')
-rw-r--r-- | drivers/regulator/rk808-regulator.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/rk808-regulator.c b/drivers/regulator/rk808-regulator.c index f8bc31f354..e0e06acad4 100644 --- a/drivers/regulator/rk808-regulator.c +++ b/drivers/regulator/rk808-regulator.c @@ -889,7 +889,7 @@ static int rk808_regulator_dt_parse(struct device_d *dev, struct of_regulator_match *matches, int nregulators) { - struct device_node *np = dev->device_node; + struct device_node *np = dev->of_node; np = of_get_child_by_name(np, "regulators"); if (!np) |