gpiolib: replace find_chip_by_name() with gpio_device_find_by_label()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 27 Sep 2023 14:29:27 +0000 (16:29 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 4 Oct 2023 11:35:49 +0000 (13:35 +0200)
commitdb5469604464af0bb6d6da9da090494812d4ef32
tree4ecb184b9eb76292545d18db26edde74c190d56f
parent9b418780844c677669ab474f6f29940ef545c954
gpiolib: replace find_chip_by_name() with gpio_device_find_by_label()

Remove all remaining uses of find_chip_by_name() (and subsequently:
gpiochip_find()) from gpiolib.c and use the new
gpio_device_find_by_label() instead.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib.c