]> git.baikalelectronics.ru Git - kernel.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>
Tue, 4 Jun 2013 12:04:19 +0000 (21:04 +0900)
commit735f67e85459a2cd756829e84709710238eb858c
treea5df97fd1f9b55bacc99d21f34fd2c75b3b434d8
parentff7509765a2bba499ce651f81b77806ce051875e
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