]> git.baikalelectronics.ru Git - uboot.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)
commit68f90d19d8fd9e843f2685956414c881bab2665a
tree4b51e6904f9b2997b05652b99af2db56b5367011
parent9b4e3675b517f036eb90a200d920f59be11ffc4c
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