]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Input: gpio-keys - request and configure GPIOs
authorHerbert Valerio Riedel <hvr@gnu.org>
Wed, 21 Nov 2007 19:42:33 +0000 (14:42 -0500)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 21 Nov 2007 19:42:33 +0000 (14:42 -0500)
commit6a2e391190b17f4fb895bd2d5e8b08c7c8f897a2
treeee5a7af733b8eef5b877614ac02886632208eda1
parent8bf4215e8a7f7416d7258af211488aabf65863c3
Input: gpio-keys - request and configure GPIOs

Currently, gpio_keys.c assumes the GPIOs to be already properly configured;
this patch changes gpio-keys to perform explicit calls to gpio_request() and
gpio_configure_input().

This matches the behaviour of leds-gpio.

Signed-off-by: Herbert Valerio Riedel <hvr@gnu.org>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c