sunxi: gpio: Remove bank-specific size macros
authorSamuel Holland <samuel@sholland.org>
Sat, 11 Sep 2021 21:50:49 +0000 (16:50 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Oct 2021 09:46:44 +0000 (10:46 +0100)
commit8fe8ff34110792f8a4ed4ab7a4f4e14c82feb452
tree87967051697d75b0f1a238101f530dc0d4da8e97
parent4d9958b6424b370555fa9fda7a0dd97b353b9797
sunxi: gpio: Remove bank-specific size macros

Since the beginning, all banks have had space for 32 pins, even when
not all pins were implemented. Let's use a single constant for the GPIO
bank size here, like the GPIO driver is already doing.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-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/gpio/sunxi_gpio.c