diff options
author | Marek Vasut <marex@denx.de> | 2024-09-27 01:14:14 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2024-09-30 19:19:07 -0600 |
commit | ba0faba52a3ffb86a59c6078053f2c9a10ef261b (patch) | |
tree | 686fcb7d5095050c90950fdada76771981b87eaf /include/power | |
parent | 332e0a0148915c994bda9128cb2bb0a0f14e6ec8 (diff) |
power: regulator: Drop regulator_unset()
This function is never called, drop it.
Signed-off-by: Marek Vasut <marex@denx.de>
Diffstat (limited to 'include/power')
-rw-r--r-- | include/power/regulator.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/power/regulator.h b/include/power/regulator.h index bb07a814c79..5363483d02a 100644 --- a/include/power/regulator.h +++ b/include/power/regulator.h @@ -430,7 +430,7 @@ int regulators_enable_boot_on(bool verbose); * * This disables all regulators which are marked to be off at boot time. * - * This effectively calls regulator_unset() for every regulator. + * This effectively does nothing. */ int regulators_enable_boot_off(bool verbose); @@ -454,18 +454,6 @@ int regulators_enable_boot_off(bool verbose); int regulator_autoset(struct udevice *dev); /** - * regulator_unset: turn off a regulator - * - * The setup depends on constraints found in device's uclass's platform data - * (struct dm_regulator_uclass_platdata): - * - * - Disable - will set - if 'force_off' is set to true, - * - * The function returns on the first-encountered error. - */ -int regulator_unset(struct udevice *dev); - -/** * regulator_autoset_by_name: setup the regulator given by its uclass's * platform data name field. The setup depends on constraints found in device's * uclass's platform data (struct dm_regulator_uclass_plat): |