Release 4.12 include/linux/regulator/of_regulator.h
/*
* OpenFirmware regulator support routines
*
*/
#ifndef __LINUX_OF_REG_H
#define __LINUX_OF_REG_H
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_OF)
extern struct regulator_init_data
*of_get_regulator_init_data(struct device *dev,
struct device_node *node,
const struct regulator_desc *desc);
extern int of_regulator_match(struct device *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 *dev,
struct device_node *node,
const struct regulator_desc *desc)
{
return NULL;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Rajendra Nayak | 17 | 60.71% | 1 | 33.33% |
Javier Martinez Canillas | 6 | 21.43% | 1 | 33.33% |
Shawn Guo | 5 | 17.86% | 1 | 33.33% |
Total | 28 | 100.00% | 3 | 100.00% |
static inline int of_regulator_match(struct device *dev,
struct device_node *node,
struct of_regulator_match *matches,
unsigned int num_matches)
{
return 0;
}
Contributors
Person | Tokens | Prop | Commits | CommitProp |
Thierry Reding | 29 | 100.00% | 1 | 100.00% |
Total | 29 | 100.00% | 1 | 100.00% |
#endif /* CONFIG_OF */
#endif /* __LINUX_OF_REG_H */
Overall Contributors
Person | Tokens | Prop | Commits | CommitProp |
Thierry Reding | 77 | 48.73% | 1 | 20.00% |
Rajendra Nayak | 50 | 31.65% | 1 | 20.00% |
Javier Martinez Canillas | 21 | 13.29% | 2 | 40.00% |
Shawn Guo | 10 | 6.33% | 1 | 20.00% |
Total | 158 | 100.00% | 5 | 100.00% |
Information contained on this website is for historical information purposes only and does not indicate or represent copyright ownership.