Input: turbografx - clear unused function pointers
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 17 Nov 2015 17:33:41 +0000 (09:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 Nov 2015 18:00:14 +0000 (10:00 -0800)
commit3855e9e4d30ed5207319fb5ef8b0fb416d873cbf
treedac5ed2d1194bb87d7842f0cb4fb340561b2c8f8
parenteb12a5f51f4332bd75a9d35caa4d79e8300af3a7
Input: turbografx - clear unused function pointers

tgfx_parport_cb is a local uninitialized structure and the member
function pointers will be pointing to arbitrary locations unless they
are cleared.

Fixes: 4de27a638a99 ("Input: turbografx - use parallel port device model")
Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/turbografx.c