Searched hist:"0 b19dde9" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/include/linux/gpio/ |
H A D | driver.h | 0b19dde9 Fri Apr 01 05:35:53 CDT 2022 Andy Shevchenko <andriy.shevchenko@linux.intel.com> gpiolib: Introduce gpiochip_node_count() helper
The gpiochip_node_count() helper iterates over the device child nodes that have the "gpio-controller" property set. It returns the number of such nodes under a given device.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be> Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Acked-by: Bartosz Golaszewski <brgl@bgdev.pl>
|