]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[ARM] S3C24XX: Reduce code lineage of gpiolib.c
authorBen Dooks <ben-linux@fluff.org>
Fri, 31 Oct 2008 16:14:27 +0000 (16:14 +0000)
committerBen Dooks <ben-linux@fluff.org>
Mon, 15 Dec 2008 21:46:24 +0000 (21:46 +0000)
commitf2edc7565a14aa82231c847abf33d02314cac9f9
tree1baab69b530dc6da39ccb55a02017a14479e9bea
parentcec444b79073e7d6ef35ced5ef63c3fd83d9b9a7
[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