Input: gpio_keys - seperate individual button setup to make code neater
authorBen Dooks <ben@simtec.co.uk>
Wed, 11 Nov 2009 05:01:31 +0000 (21:01 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 20 Nov 2009 08:52:08 +0000 (00:52 -0800)
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>

No differences found