]> git.dujemihanovic.xyz Git - u-boot.git/commit
power: regulator: Convert regulators_enable_boot_on/off() to regulator_post_probe
authorMarek Vasut <marex@denx.de>
Thu, 26 Sep 2024 23:14:13 +0000 (01:14 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 1 Oct 2024 01:19:07 +0000 (19:19 -0600)
commit332e0a0148915c994bda9128cb2bb0a0f14e6ec8
tree6fdeca46cb26e9ae04eafd2842dfbc9c5136f1ec
parent51c4679d2f848e91b4a0cf867a426ffe5bb094b2
power: regulator: Convert regulators_enable_boot_on/off() to regulator_post_probe

Turn regulators_enable_boot_on() and regulators_enable_boot_off() into
empty functions. Implement matching functionality in regulator_post_probe()
instead. The regulator_post_probe() is called for all regulators after they
probe, and regulators that have regulator-always-on or regulator-boot-on DT
properties now always probe due to DM_FLAG_PROBE_AFTER_BIND being set on
such regulators in regulator_post_bind().

Finally, fold regulator_unset() functionality into regulator_autoset().

Signed-off-by: Marek Vasut <marex@denx.de>
drivers/power/regulator/regulator-uclass.c