[ARM] pxa/poodle: convert to use the new GPIO API
authorEric Miao <eric.miao@marvell.com>
Fri, 18 Jul 2008 00:59:04 +0000 (08:59 +0800)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Tue, 23 Sep 2008 21:04:34 +0000 (22:04 +0100)
commitce5291478c64bab3ae301c385c6c2a6575b08355
tree5de76fc490cc9adbc4039a72d5a9358e466b57d0
parentcf5eb8c0de08a99b0ccbd22198bbb4828a04298b
[ARM] pxa/poodle: convert to use the new GPIO API

Direct manipulation of GPIO registers are no longer encouraged, use
the new GPIO API instead. Since the GPIO has to be requested before
use, .startup and .shutdown are added to the IrDA device platform
data to request and free the GPIO.

Signed-off-by: Eric Miao <eric.miao@marvell.com>
Acked-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-pxa/poodle.c