OSDN Git Service

regulator: Remove obsolete consumer_dev related comment
authorAxel Lin <axel.lin@gmail.com>
Sat, 18 Feb 2012 14:53:15 +0000 (22:53 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sat, 18 Feb 2012 19:58:12 +0000 (11:58 -0800)
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>
drivers/regulator/core.c

index b9c900e..645c122 100644 (file)
@@ -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,