summaryrefslogtreecommitdiffstats
path: root/include/linux/regulator/of_regulator.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/regulator/of_regulator.h')
-rw-r--r--include/linux/regulator/of_regulator.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/include/linux/regulator/of_regulator.h b/include/linux/regulator/of_regulator.h
index 265b98d1ee..de6d053e26 100644
--- a/include/linux/regulator/of_regulator.h
+++ b/include/linux/regulator/of_regulator.h
@@ -14,28 +14,15 @@ struct regulator_desc;
struct of_regulator_match {
const char *name;
void *driver_data;
- struct regulator_init_data *init_data;
struct device_node *of_node;
const struct regulator_desc *desc;
};
#if defined(CONFIG_OFDEVICE)
-extern struct regulator_init_data
- *of_get_regulator_init_data(struct device_d *dev,
- struct device_node *node,
- const struct regulator_desc *desc);
extern int of_regulator_match(struct device_d *dev, struct device_node *node,
struct of_regulator_match *matches,
unsigned int num_matches);
#else
-static inline struct regulator_init_data
- *of_get_regulator_init_data(struct device_d *dev,
- struct device_node *node,
- const struct regulator_desc *desc)
-{
- return NULL;
-}
-
static inline int of_regulator_match(struct device_d *dev,
struct device_node *node,
struct of_regulator_match *matches,