commit | f2edc7565a14aa82231c847abf33d02314cac9f9 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben-linux@fluff.org> | Fri Oct 31 16:14:27 2008 +0000 |
committer | Ben Dooks <ben-linux@fluff.org> | Mon Dec 15 21:46:24 2008 +0000 |
tree | 1baab69b530dc6da39ccb55a02017a14479e9bea | |
parent | cec444b79073e7d6ef35ced5ef63c3fd83d9b9a7 [diff] |
[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>