]> 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>
Wed, 24 Apr 2013 08:33:57 +0000 (17:33 +0900)
commita2ddc2323c4b14234eab9dc9f230d531475e056d
tree1f81e7d647cf0122a0d217d70d2c3806abc9ebc5
parent7fe98d42edcd1d275fdcd9f01e0ee3b91475ade9
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