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)
commit8cde81001626c4c60b26ef2eb5fc522885ed9fd0
tree9e9092cae44615376c5e3de98b8b259d137eb987
parent47c78e891323513e9909729b44033e2c6649e2b7
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