]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Sat, 25 May 2013 02:25:05 +0000 (11:25 +0900)
commit62e0f6810d1c3ecd42928dec629f5b65929e8764
treee017d538197b060c0839d4d5abf4402388cfefcb
parentb38e11b8c0dde44a8eeb972930cbacad2a4e9419
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