of_gpiochip_get_lflags
int of_gpiochip_get_lflags(struct gpio_chip *chip,
ret = of_gpiochip_get_lflags(gc, &gpiospec, &lflags);