]> git.baikalelectronics.ru Git - kernel.git/commit
gpiolib: Unify the checks on fwnode type
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 9 Mar 2021 09:37:32 +0000 (11:37 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Fri, 26 Mar 2021 13:56:18 +0000 (14:56 +0100)
commit6fadac68ec98701ffec399f8590656a49699719f
tree6e40790b4ff115e788a5a75115254fc452748fb0
parent1953e6196cdd2acb4508f0b05af7f0c0ce2fafe5
gpiolib: Unify the checks on fwnode type

We have (historically) different approaches how we identify the type
of a given fwnode. Let's standardize them across the library code.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpiolib.c