s3cmci: change GPIO to gpiolib from S3C24XX specific calls
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:15 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:14 +0000 (16:11 -0700)
commit916a30775fc843e6f82e09c748a4fc70bfd4298e
treeded1785543e13596fea087a6bfb3e7e86889875c
parent44d0e19968b3b2703aa4ee1f9a5b684425b40448
s3cmci: change GPIO to gpiolib from S3C24XX specific calls

Move to using gpiolib to access the card detect and write protect GPIO
lines instead of using the platform speicifc s3c2410_gpio calls.

Also ensure that the card lines are claimed the same way to avoid overlap
with any other drivers.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/s3cmci.c