Input: tegra-kbc - fix computation of polling time
authorRakesh Iyer <riyer@nvidia.com>
Sat, 30 Jul 2011 19:01:48 +0000 (12:01 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Sat, 30 Jul 2011 19:03:36 +0000 (12:03 -0700)
commit3f27757a1182f5e3feff7425b1c3e43f3e466724
tree261b1a6602b833419db7cba2eee25ad93a7273f7
parent2501ec97663d84cfbc8fd8848c382f89c3bf8d1d
Input: tegra-kbc - fix computation of polling time

Fix a constant definition and computation of polling time.

[dtor@mail.ru: switched to using DIV_ROUND_UP as was suggested by
 Thierry Reding <thierry.reding@avionic-design.de>]

Signed-off-by: Rakesh Iyer <riyer@nvidia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tegra-kbc.c