summaryrefslogtreecommitdiff
path: root/include/linux/regulator
diff options
context:
space:
mode:
authorMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-02 04:10:51 +0400
committerMark Brown <broonie@opensource.wolfsonmicro.com>2012-02-02 18:03:24 +0400
commit737f360d5bef5e01c6cfa755dca0b449a154c1e0 (patch)
treece9241643680f1a6f7691ae440175943fda7843d /include/linux/regulator
parentfb87ef1a123fa85bca1b6ac693a65752a7d0c718 (diff)
downloadlinux-737f360d5bef5e01c6cfa755dca0b449a154c1e0.tar.xz
regulator: Remove support for supplies specified by struct device
This has been deprecated for a very long time now. Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Acked-by: Liam Girdwood <lrg@ti.com>
Diffstat (limited to 'include/linux/regulator')
-rw-r--r--include/linux/regulator/machine.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/regulator/machine.h b/include/linux/regulator/machine.h
index f3f13fd5868f..7abb16093312 100644
--- a/include/linux/regulator/machine.h
+++ b/include/linux/regulator/machine.h
@@ -139,12 +139,10 @@ struct regulation_constraints {
* make struct device available late such as I2C and is the preferred
* form.
*
- * @dev: Device structure for the consumer.
* @dev_name: Result of dev_name() for the consumer.
* @supply: Name for the supply.
*/
struct regulator_consumer_supply {
- struct device *dev; /* consumer */
const char *dev_name; /* dev_name() for consumer */
const char *supply; /* consumer supply - e.g. "vcc" */
};