Input: gpio_keys - remove useless reinitialization of pdata->nbuttons
authorTobias Klauser <tklauser@distanz.ch>
Tue, 12 Jun 2012 06:55:32 +0000 (23:55 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 12 Jun 2012 07:38:15 +0000 (00:38 -0700)
commit4eceb14f669cb9e9d189019e8fcbf73577fe77a7
treeb9f4dd44a5057692ca45bbfeab6fc532c1ea00c2
parent86809173ce32ef03bd4d0389dfc72df0c805e9c4
Input: gpio_keys - remove useless reinitialization of pdata->nbuttons

pdata is zeroed using memset just a few lines before, so there is no
need to set the nbuttons member to 0 again.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys.c