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)
commitbc8f1eaf68a8aa1d993492f1ad2d74502665f578
treecadf6c3f31ee6ae8dee14ccd66185faf994d51ff
parent111bc59c08c437e433bd5b9cc726adaa912c6e6c
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>
drivers/input/keyboard/gpio_keys.c
This page took 0.043302 seconds and 5 git commands to generate.