diff options
| author | Marek Vasut <[email protected]> | 2024-09-27 01:14:15 +0200 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2024-09-30 19:19:07 -0600 |
| commit | 6f52feee2867f138af3d81a90a02a2b222e3366d (patch) | |
| tree | a513219ea2ff4ad1de619d5e8cde1096379c9da9 /include/power | |
| parent | ba0faba52a3ffb86a59c6078053f2c9a10ef261b (diff) | |
power: regulator: Drop regulators_enable_boot_on/off()
Both regulators_enable_boot_on/off() are unused and superseded by
regulator uclass regulator_post_probe(). Remove both functions.
Signed-off-by: Marek Vasut <[email protected]>
Diffstat (limited to 'include/power')
| -rw-r--r-- | include/power/regulator.h | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h index 5363483d02a..8a914dfc74f 100644 --- a/include/power/regulator.h +++ b/include/power/regulator.h @@ -415,26 +415,6 @@ int regulator_get_mode(struct udevice *dev); int regulator_set_mode(struct udevice *dev, int mode_id); /** - * regulators_enable_boot_on() - enable regulators needed for boot - * - * This enables all regulators which are marked to be on at boot time. This - * only works for regulators which don't have a range for voltage/current, - * since in that case it is not possible to know which value to use. - * - * This effectively calls regulator_autoset() for every regulator. - */ -int regulators_enable_boot_on(bool verbose); - -/** - * regulators_enable_boot_off() - disable regulators needed for boot - * - * This disables all regulators which are marked to be off at boot time. - * - * This effectively does nothing. - */ -int regulators_enable_boot_off(bool verbose); - -/** * regulator_autoset: setup the voltage/current on a regulator * * The setup depends on constraints found in device's uclass's platform data @@ -617,11 +597,6 @@ static inline int regulator_set_mode(struct udevice *dev, int mode_id) return -ENOSYS; } -static inline int regulators_enable_boot_on(bool verbose) -{ - return -ENOSYS; -} - static inline int regulator_autoset(struct udevice *dev) { return -ENOSYS; |
