Input: gpio_keys_polled - fix dt pdata->nbuttons
authorAlexandre Pereira da Silva <aletes.xgr@gmail.com>
Thu, 13 Sep 2012 04:49:26 +0000 (21:49 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 13 Sep 2012 04:56:20 +0000 (21:56 -0700)
commit8757145af0cc7d51dc4d491c9a2248ece50b9932
tree1b48505b5324f62b8c9e01c1e94b74086f02d9df
parentcaaa357dc0582f0d4504c22f1ef2347ad940de1b
Input: gpio_keys_polled - fix dt pdata->nbuttons

pdata->nbuttons should be updated by the dt code.

Signed-off-by: Alexandre Pereira da Silva <aletes.xgr@gmail.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/gpio_keys_polled.c