summaryrefslogtreecommitdiffstats
path: root/drivers/regulator/core.c
diff options
context:
space:
mode:
authorMark Brown <broonie@linaro.org>2013-09-13 19:51:47 +0100
committerMark Brown <broonie@linaro.org>2013-09-17 00:30:25 +0100
commit4f0ac6dabf867095b31f851ba0d0ceaca2f87e2e (patch)
tree9b6786e59f6c0ee3468b4d0b3367771d0b194821 /drivers/regulator/core.c
parent4ddfebd3b0d5b65c69492408bb67fd1202104643 (diff)
downloadop-kernel-dev-4f0ac6dabf867095b31f851ba0d0ceaca2f87e2e.zip
op-kernel-dev-4f0ac6dabf867095b31f851ba0d0ceaca2f87e2e.tar.gz
regulator: core: Remove unused regulator_use_dummy_regulator()
No boards have used this functionality and the new default of providing dummy regulators by default provides a better solution to the problem it was trying to solve. Signed-off-by: Mark Brown <broonie@linaro.org>
Diffstat (limited to 'drivers/regulator/core.c')
-rw-r--r--drivers/regulator/core.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index 8fd1707..ac3a864 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -53,7 +53,6 @@ static LIST_HEAD(regulator_list);
static LIST_HEAD(regulator_map_list);
static LIST_HEAD(regulator_ena_gpio_list);
static bool has_full_constraints;
-static bool board_wants_dummy_regulator;
static struct dentry *debugfs_root;
@@ -3616,22 +3615,6 @@ void regulator_has_full_constraints(void)
EXPORT_SYMBOL_GPL(regulator_has_full_constraints);
/**
- * regulator_use_dummy_regulator - Provide a dummy regulator when none is found
- *
- * Calling this function will cause the regulator API to provide a
- * dummy regulator to consumers if no physical regulator is found,
- * allowing most consumers to proceed as though a regulator were
- * configured. This allows systems such as those with software
- * controllable regulators for the CPU core only to be brought up more
- * readily.
- */
-void regulator_use_dummy_regulator(void)
-{
- board_wants_dummy_regulator = true;
-}
-EXPORT_SYMBOL_GPL(regulator_use_dummy_regulator);
-
-/**
* rdev_get_drvdata - get rdev regulator driver data
* @rdev: regulator
*
OpenPOWER on IntegriCloud