at91_cf: use generic gpio calls
authorDavid Brownell <dbrownell@users.sourceforge.net>
Tue, 5 Feb 2008 06:27:42 +0000 (22:27 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 5 Feb 2008 17:44:09 +0000 (09:44 -0800)
commit4c1fc445c29c6208c44e10c0253beea890bf5435
tree2c52339b73cd6cf300b53f156d63f8ba0a7a4c94
parent9ab9898e32971b938f9e8a997b12d0c4dd4832f7
at91_cf: use generic gpio calls

Update the AT91 CF driver to use the generic GPIO calls instead of the
AT91-specific ones; and request exclusive use of those signals.

Minor tweaks to cleanup code paths: always in reverse order of how the
resources were allocated, with remove() matching the fault paths of
probe().

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/pcmcia/at91_cf.c