summaryrefslogtreecommitdiffstats
path: root/drivers/input
diff options
context:
space:
mode:
authorEric Miao <eric.y.miao@gmail.com>2008-01-31 06:58:00 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2008-01-31 06:58:00 +0100
commit1a1cd739a4b985f87c47e2809db7e240dba2c385 (patch)
treee43fbc8b1e47122844acd727aaf5490b7a9f5b38 /drivers/input
parentInput: pxa27x_keypad - rename the driver (was pxa27x_keyboard) (diff)
downloadlinux-1a1cd739a4b985f87c47e2809db7e240dba2c385.tar.xz
linux-1a1cd739a4b985f87c47e2809db7e240dba2c385.zip
Input: pxa27x_keypad - remove pin configuration from the driver
The pin configurations will slowly be moved to the board specific code at initialization thus to make the driver more generic. Signed-off-by: Eric Miao <eric.miao@marvell.com> Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Diffstat (limited to 'drivers/input')
-rw-r--r--drivers/input/keyboard/pxa27x_keypad.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/input/keyboard/pxa27x_keypad.c b/drivers/input/keyboard/pxa27x_keypad.c
index 06c1d5abaa81..43fb63d68122 100644
--- a/drivers/input/keyboard/pxa27x_keypad.c
+++ b/drivers/input/keyboard/pxa27x_keypad.c
@@ -208,10 +208,6 @@ static int __devinit pxa27x_keypad_probe(struct platform_device *pdev)
if (error)
goto err_free_irq;
- /* Setup GPIOs. */
- for (i = 0; i < pdata->nr_rows + pdata->nr_cols; i++)
- pxa_gpio_mode(pdata->gpio_modes[i]);
-
/*
* Store rows/cols info into keyboard registers.
*/