sunxi: gpio: Remove name_to_gpio macro
authorSamuel Holland <samuel@sholland.org>
Sat, 11 Sep 2021 21:50:48 +0000 (16:50 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Oct 2021 09:46:44 +0000 (10:46 +0100)
commit4d9958b6424b370555fa9fda7a0dd97b353b9797
tree0395654cd85eaf48a9da6f6d3e2fc5e5cb8b3b39
parent425084610e08e344d43e0d142e72e65c9602379f
sunxi: gpio: Remove name_to_gpio macro

This clarifies which callers must be updated to complete the DM_GPIO
conversion.

The only remaining caller of name_to_gpio in generic code is inside the
!DM_GPIO block in cmd/gpio.c. DM_GPIO is always selected on sunxi, so
that code cannot be reached. And after this commit, there are only two
remaining implementations of name_to_gpio.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Acked-by: Andre Przywara <andre.przywara@arm.com>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/gpio.h
drivers/spi/spi-sunxi.c
drivers/video/Kconfig
drivers/video/hitachi_tx18d42vm_lcd.c
drivers/video/sunxi/sunxi_display.c