121
134
* @np: device node to get GPIO from
122
135
* @index: index of the GPIO
123
136
* @flags: a flags pointer to fill in
126
139
* value on the error condition. If @flags is not NULL the function also fills
145
return of_get_named_gpiod_flags(np, "gpios", index, flags);
129
148
static inline int of_get_gpio_flags(struct device_node *np, int index,
130
149
enum of_gpio_flags *flags)