]> err.no Git - linux-2.6/commit
[ARM] 4096/1: S3C24XX: change return code form s3c2410_gpio_getcfg()
authorBen Dooks <ben-linux@fluff.org>
Tue, 16 Jan 2007 11:56:58 +0000 (12:56 +0100)
committerRussell King <rmk+kernel@arm.linux.org.uk>
Wed, 24 Jan 2007 11:59:56 +0000 (11:59 +0000)
commit30f0e0f4153918a22d802b415980974514139389
tree9b7867e04c29977fbfffffb0a43e98350a458e09
parent6c3c5bb3c68b932ece9f92b9d201196d537cb99c
[ARM] 4096/1: S3C24XX: change return code form s3c2410_gpio_getcfg()

The s3c2410_gpio_getcfg() currently returns
a value which is dependant on the GPIO no
passed in. Now we have more generic constants
it is sensible to use those as return codes
so that any function dealing with >1 GPIO
does not need to do it's own number processing.

Since this function is only currently used in
pm.c, it is easy to fixup (and correct pm.c
to use the generic constants)

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
arch/arm/mach-s3c2410/gpio.c
arch/arm/mach-s3c2410/pm.c