summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-18 15:53:15 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-18 20:58:12 +0100
commit5bc78015998e14bf0362a01fc47e8b63053dbfd8 (patch)
treeab3004a4db92c9f01d9fbb7f0bde8dbde7b59aef /drivers/regulator
parentARM: U300: Don't specify regulator consumers by struct device (diff)
downloadlinux-5bc78015998e14bf0362a01fc47e8b63053dbfd8.tar.xz
linux-5bc78015998e14bf0362a01fc47e8b63053dbfd8.zip
regulator: Remove obsolete consumer_dev related comment
consumer_dev is remove by commit 737f36 "regulator: Remove support for supplies specified by struct device". Thus remove the obsolete comment. Signed-off-by: Axel Lin <axel.lin@gmail.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/core.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c
index b9c900e81790..645c122bb5bc 100644
--- a/drivers/regulator/core.c
+++ b/drivers/regulator/core.c
@@ -1003,8 +1003,6 @@ static int set_supply(struct regulator_dev *rdev,
* sources to symbolic names for supplies for use by devices. Devices
* should use these symbolic names to request regulators, avoiding the
* need to provide board-specific regulator names as platform data.
- *
- * Only one of consumer_dev and consumer_dev_name may be specified.
*/
static int set_consumer_device_supply(struct regulator_dev *rdev,
const char *consumer_dev_name,