]> git.dujemihanovic.xyz Git - u-boot.git/commit
gpio: sunxi: Remove the sunxi_name_to_gpio_bank function
authorSamuel Holland <samuel@sholland.org>
Sun, 12 Sep 2021 15:28:36 +0000 (10:28 -0500)
committerAndre Przywara <andre.przywara@arm.com>
Mon, 11 Oct 2021 09:46:44 +0000 (10:46 +0100)
commit14c8c631e986d350ce468ae5d627f547e5a4e1aa
tree4b51e6904f9b2997b05652b99af2db56b5367011
parentdda9fa734f813c0d0c29aa03bfe200950b40cfea
gpio: sunxi: Remove the sunxi_name_to_gpio_bank function

The only caller of this function was the MMC pinmux code, which used it
to parse a string given from a Kconfig symbol. As the Kconfig symbol has
been converted to a Boolean, this function is no longer needed.

Signed-off-by: Samuel Holland <samuel@sholland.org>
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Andre Przywara <andre.przywara@arm.com>
arch/arm/include/asm/arch-sunxi/gpio.h
drivers/gpio/sunxi_gpio.c