Merge remote-tracking branch 'regulator/for-5.11' into regulator-next
authorMark Brown <broonie@kernel.org>
Fri, 11 Dec 2020 17:48:32 +0000 (17:48 +0000)
committerMark Brown <broonie@kernel.org>
Fri, 11 Dec 2020 17:48:32 +0000 (17:48 +0000)
1  2 
drivers/regulator/Kconfig
drivers/regulator/core.c
drivers/regulator/pfuze100-regulator.c

Simple merge
@@@ -5305,9 -5309,11 +5315,11 @@@ regulator_register(const struct regulat
                /* FIXME: this currently triggers a chicken-and-egg problem
                 * when creating -SUPPLY symlink in sysfs to a regulator
                 * that is just being created */
+               rdev_dbg(rdev, "will resolve supply early: %s\n",
+                        rdev->supply_name);
                ret = regulator_resolve_supply(rdev);
                if (!ret)
 -                      ret = set_machine_constraints(rdev, constraints);
 +                      ret = set_machine_constraints(rdev);
                else
                        rdev_dbg(rdev, "unable to resolve supply early: %pe\n",
                                 ERR_PTR(ret));