gpiolib: of: Use device_match_of_node() helper
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 29 Jun 2022 11:30:58 +0000 (14:30 +0300)
committerBartosz Golaszewski <brgl@bgdev.pl>
Tue, 19 Jul 2022 07:57:13 +0000 (09:57 +0200)
commit597a8a888d349c3804e92ef087646bd9a89fe53d
tree8bf890ad9d4dce0b46cc8fe618b638ea1d042bf6
parent6169d76c56b30e57fcb080206edd5324d9cea296
gpiolib: of: Use device_match_of_node() helper

Instead of open coding, use device_match_of_node() helper.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <brgl@bgdev.pl>
drivers/gpio/gpiolib-of.c