Input: evdev - convert to dynamic event buffer
authorHenrik Rydberg <rydberg@euromail.se>
Wed, 23 Jun 2010 16:17:56 +0000 (09:17 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 23 Jun 2010 20:04:42 +0000 (13:04 -0700)
commitb58f7086d52c0ac6c879ee5aaf7c276e17768e5b
treeb4dc1d1b516f36bdf5cda18af3a8a28d5706068a
parent4aaf504670e38da9cb929988cdce05648fa635a7
Input: evdev - convert to dynamic event buffer

Allocate the event buffer dynamically, and prepare to compute the
buffer size in a separate function. This patch defines the size
computation to be identical to the current code, and does not contain
any logical changes.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/evdev.c