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)
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>

No differences found