ARM: shmobile: ap4evb: Simplify tsc2007 pen state read function
authorLaurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Sun, 21 Apr 2013 16:56:15 +0000 (18:56 +0200)
committerSimon Horman <horms+renesas@verge.net.au>
Tue, 4 Jun 2013 12:04:19 +0000 (21:04 +0900)
commit4a666a783b0bb989afe87686f80c94d6ac1897a8
treea5df97fd1f9b55bacc99d21f34fd2c75b3b434d8
parent5436c2b9b48992349a1fb26dfd72a08c984ccba8
ARM: shmobile: ap4evb: Simplify tsc2007 pen state read function

The pen state is retrieved by reading the state of a pin used as an IRQ.
There's no need to reconfigure the pin as a pure GPIO, as the IRQ pin
state can be read.

Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
arch/arm/mach-shmobile/board-ap4evb.c