]> git.baikalelectronics.ru Git - uboot.git/commit
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)
commit5023368eb151f2cb84807bd39876f6ecf4ec7d73
tree0395654cd85eaf48a9da6f6d3e2fc5e5cb8b3b39
parentf7a3e8832a278646b291cd93f06214449ca19559
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