arm: ti: Remove unused function ti_first_gpio_bank

This commit is contained in:
Emmanuel Vadot 2020-11-26 17:18:54 +00:00
parent 1a96c1434f
commit 8704ae04f4
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=368064

View File

@ -134,22 +134,6 @@ static int ti_gpio_detach(device_t);
static int ti_gpio_pic_attach(struct ti_gpio_softc *sc);
static int ti_gpio_pic_detach(struct ti_gpio_softc *sc);
static u_int
ti_first_gpio_bank(void)
{
switch(ti_chip()) {
#ifdef SOC_OMAP4
case CHIP_OMAP_4:
return (OMAP4_FIRST_GPIO_BANK);
#endif
#ifdef SOC_TI_AM335X
case CHIP_AM335X:
return (AM335X_FIRST_GPIO_BANK);
#endif
}
return (0);
}
static uint32_t
ti_gpio_rev(void)
{