gpio: vf610: use generic device_get_match_data()
authorBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 7 Oct 2024 10:25:49 +0000 (12:25 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Mon, 14 Oct 2024 08:29:11 +0000 (10:29 +0200)
commit1b35c124f961b355dafb1906c591191bd0b37417
tree279071812b62bd979e11441b0e07ac308c1a5809
parent1396470c11d4f30b4d4f444adf353848b48c74da
gpio: vf610: use generic device_get_match_data()

There's no need to use the OF-specific variant to get the match data.
Switch to using device_get_match_data() and with that remove the of.h
include. Also remove of_irq.h as none of its interfaces is used here and
order the includes in alphabetical order.

Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://lore.kernel.org/r/20241007102549.34926-1-brgl@bgdev.pl
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
drivers/gpio/gpio-vf610.c