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>
This commit is contained in:

committed by
Dmitry Torokhov

parent
0e5f11aa80
commit
1a1cd739a4
@@ -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.
|
||||
*/
|
||||
|
Reference in New Issue
Block a user