[ARM] S3C24XX: Reduce code lineage of gpiolib.c
commitce415b079ffa43843c38109af034271784877dbd
authorBen Dooks <ben-linux@fluff.org>
Fri, 31 Oct 2008 16:14:27 +0000 (31 16:14 +0000)
committerBen Dooks <ben-linux@fluff.org>
Fri, 31 Oct 2008 16:17:35 +0000 (31 16:17 +0000)
tree4b54694a11f05bd78bdcc5fa5593049c829e7ee2
parent828d9982ebf994a20293b79e9773039f1d74d44f
[ARM] S3C24XX: Reduce code lineage of gpiolib.c

All the s3c24xx gpiolib chips share the same get/set
calls and all but one bank shares the same calls for
.direction_input and .direction_output methods.

Change the initialisation process to use an new call
to register the chips that fills in any blank calls
with the default values to avoid having to fill them
in the structure initialisers.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
arch/arm/plat-s3c24xx/gpiolib.c