]> git.baikalelectronics.ru Git - kernel.git/commit
input: mt: Collect slots initialization code
authorHenrik Rydberg <rydberg@euromail.se>
Sat, 27 Nov 2010 09:50:54 +0000 (10:50 +0100)
committerHenrik Rydberg <rydberg@euromail.se>
Thu, 16 Dec 2010 09:41:12 +0000 (10:41 +0100)
commit6f458f6e1e2a5a944be72fd8d7c3a304700187fc
tree9e9092cae44615376c5e3de98b8b259d137eb987
parentd82690fa4d8210b33222afb85c9fcaf85ca07877
input: mt: Collect slots initialization code

The MT slots devices all follow the same initialization pattern
of creating slots and hinting about buffer size. Let drivers call
an initialization function instead, and make sure it can be called
repeatedly without side effects.

Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
drivers/hid/hid-3m-pct.c
drivers/input/input-mt.c
drivers/input/misc/uinput.c
drivers/input/tablet/wacom_wac.c
drivers/input/touchscreen/wacom_w8001.c
include/linux/input/mt.h