ARM: pxa: mainstone-wm97xx: use gpio lookup table
This driver hardcodes gpio numbers without a header file. Use lookup tables instead. Cc: Marek Vasut <marek.vasut@gmail.com> Acked-by:Dmitry Torokhov <dmitry.torokhov@gmail.com> Acked-by:
Robert Jarzmik <robert.jarzmik@free.fr> Reviewed-by:
Linus Walleij <linus.walleij@linaro.org> Cc: linux-input@vger.kernel.org Signed-off-by:
Arnd Bergmann <arnd@arndb.de>
Showing
- arch/arm/mach-pxa/mainstone.c 9 additions, 0 deletionsarch/arm/mach-pxa/mainstone.c
- arch/arm/mach-pxa/palmld.c 9 additions, 0 deletionsarch/arm/mach-pxa/palmld.c
- arch/arm/mach-pxa/palmt5.c 9 additions, 0 deletionsarch/arm/mach-pxa/palmt5.c
- arch/arm/mach-pxa/palmtx.c 9 additions, 0 deletionsarch/arm/mach-pxa/palmtx.c
- drivers/input/touchscreen/mainstone-wm97xx.c 14 additions, 21 deletionsdrivers/input/touchscreen/mainstone-wm97xx.c
Please register or sign in to comment