summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorMark Brown2012-02-02 01:10:51 +0100
committerMark Brown2012-02-02 15:03:24 +0100
commit737f360d5bef5e01c6cfa755dca0b449a154c1e0 (patch)
treece9241643680f1a6f7691ae440175943fda7843d /include/linux
parentMerge branch 'regulator-drivers' into regulator-supply (diff)
downloadkernel-qcow2-linux-737f360d5bef5e01c6cfa755dca0b449a154c1e0.tar.gz
kernel-qcow2-linux-737f360d5bef5e01c6cfa755dca0b449a154c1e0.tar.xz
kernel-qcow2-linux-737f360d5bef5e01c6cfa755dca0b449a154c1e0.zip
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')
-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" */
};