ARM: pxa: maybe fix gpio lookup tables
authorArnd Bergmann <arnd@arndb.de>
Wed, 11 Sep 2019 20:31:51 +0000 (22:31 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:23:29 +0000 (10:23 +0200)
commit54de256d35b00651fd7ede9e8e849bd06988811a
treeffa85a0d414caee922eb89c558f59f58cbb57841
parent2c3dd5badde8ad1ad9ff6d1776e3514716d2b6a0
ARM: pxa: maybe fix gpio lookup tables

commit 2672a4bff6c03a20d5ae460a091f67ee782c3eff upstream.

From inspection I found a couple of GPIO lookups that are
listed with device "gpio-pxa", but actually have a number
from a different gpio controller.

Try to rectify that here, with a guess of what the actual
device name is.

Acked-by: Robert Jarzmik <robert.jarzmik@free.fr>
Reviewed-by: Linus Walleij <linus.walleij@linaro.org>
Cc: stable@vger.kernel.org
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
arch/arm/mach-pxa/cm-x300.c
arch/arm/mach-pxa/magician.c
arch/arm/mach-pxa/tosa.c