]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit25dc1d636da0bd2a23a638dd6d948d40dd77716d
treeb9f4dd44a5057692ca45bbfeab6fc532c1ea00c2
parent6e9fa5454f8a5e62717a6c9104008d28dc09f397
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