OMAP/gpio: drop MPUIO static base
authorLinus Walleij <linus.walleij@linaro.org>
Tue, 12 Sep 2023 08:44:52 +0000 (10:44 +0200)
committerBartosz Golaszewski <bartosz.golaszewski@linaro.org>
Wed, 4 Oct 2023 09:37:25 +0000 (11:37 +0200)
commit968118fcf0546ef74cf306bf8f8c1e06efff10e3
tree2290d755730c3b0f3d07a7a3da91eff640d0f71d
parentc31071eabb448c58e0c43d519932af42dfc8f07d
OMAP/gpio: drop MPUIO static base

The OMAP GPIO driver hardcodes the MPIO chip base, but there
is no point: we have already moved all consumers over to using
descriptor look-ups.

Drop the MPUIO GPIO base and use dynamic assignment.

Root out the unused instances of the OMAP_MPUIO() macro and
delete the unused OMAP_GPIO_IS_MPUIO() macro.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Reviewed-by: Tony Lindgren <tony@atomide.com>
Tested-by: Janusz Krzysztofik <jmkrzyszt@gmail.com>
Signed-off-by: Bartosz Golaszewski <bartosz.golaszewski@linaro.org>
arch/arm/mach-omap1/board-palmte.c
drivers/gpio/gpio-omap.c
include/linux/platform_data/gpio-omap.h