Release 4.7 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 | rajendra nayak | 17 | 60.71% | 1 | 33.33% |
javier martinez canillas | javier martinez canillas | 6 | 21.43% | 1 | 33.33% |
shawn guo | 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 | 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 | thierry reding | 77 | 48.73% | 1 | 20.00% |
rajendra nayak | rajendra nayak | 50 | 31.65% | 1 | 20.00% |
javier martinez canillas | javier martinez canillas | 21 | 13.29% | 2 | 40.00% |
shawn guo | 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.