summaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2012-02-18 22:53:15 +0800
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-18 11:58:12 -0800
commit5bc78015998e14bf0362a01fc47e8b63053dbfd8 (patch)
treeab3004a4db92c9f01d9fbb7f0bde8dbde7b59aef /drivers/regulator
parent0e2576ceffd4b5362023b765b11ed647c06ffc2d (diff)
downloadop-kernel-dev-5bc78015998e14bf0362a01fc47e8b63053dbfd8.zip
op-kernel-dev-5bc78015998e14bf0362a01fc47e8b63053dbfd8.tar.gz
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 b9c900e..645c122 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,
OpenPOWER on IntegriCloud