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:21:28 +0000 (10:21 +0200)
commitd6b9b220d10eda36a4094bc5bee23acc1b9f8047
treea4e5ef67fc337a270041691c21bed6cf5b0fd429
parent39c61f4f7f6f3005c82a6fa7daa1836692d72805
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