arm: omap1: ams-delta: stop using gpiochip_find()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Tue, 5 Sep 2023 18:53:03 +0000 (20:53 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 4 Oct 2023 11:43:45 +0000 (13:43 +0200)
commit0c42fc96cc020b7879b38c8e8597ffbbf34e0eda
tree1b2e9af3ea89c35b0a9c8b5b4bfdd84248430abc
parent7691ba064b71ffa03bbaefcb2af7ec1e2131eeed
arm: omap1: ams-delta: stop using gpiochip_find()

gpiochip_find() is going away as it's not hot-unplug safe. This platform
is not affected by any of the related problems as this GPIO controller
cannot really go away but in order to finally remove this function, we
need to convert it to using gpio_device_find() as well.

Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Acked-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap1/board-ams-delta.c