gpio: Use device_get_match_data()
authorRob Herring <robh@kernel.org>
Fri, 6 Oct 2023 22:45:07 +0000 (17:45 -0500)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 9 Oct 2023 07:08:08 +0000 (09:08 +0200)
commit03a975cbcfcd0b3da32a0d55da7d20e7bfdd1827
tree72c4036c17aa3aff0dab34cd0c271634af583970
parent8a58cd577f019dee00bdb0ffa52e38aab44154e4
gpio: Use device_get_match_data()

Use preferred device_get_match_data() instead of of_match_device() to
get the driver match data. With this, adjust the includes to explicitly
include the correct headers.

Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-davinci.c
drivers/gpio/gpio-mmio.c
drivers/gpio/gpio-mvebu.c