commit | bc8f1eaf68a8aa1d993492f1ad2d74502665f578 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben@simtec.co.uk> | Tue Nov 10 21:01:31 2009 -0800 |
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | Fri Nov 20 00:52:08 2009 -0800 |
tree | cadf6c3f31ee6ae8dee14ccd66185faf994d51ff | |
parent | 111bc59c08c437e433bd5b9cc726adaa912c6e6c [diff] |
Input: gpio_keys - seperate individual button setup to make code neater Move the code that deals with setting up each individual button out into a new function to reduce the indentation and allow us to common up some of the error recovery code. Signed-off-by: Ben Dooks <ben@simtec.co.uk> Signed-off-by: Simtec Linux Team <linux@simtec.co.uk> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>