gpiolib: Introduce a helper to get first GPIO controller node
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Apr 2022 18:42:48 +0000 (21:42 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 14 Apr 2022 18:47:29 +0000 (21:47 +0300)
commitaf47d8033fc731f19600efd27ba4a7d0fdfcc77c
treeea9d96b853bfb9d8dd01738d2c7e53d121403cfc
parent492fca28fae8e4aa93c1b054423c152d540a36e8
gpiolib: Introduce a helper to get first GPIO controller node

Introduce a helper to get first GPIO controller node which drivers
may want to use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Tested-by: Marek Szyprowski <m.szyprowski@samsung.com>
include/linux/gpio/driver.h