]> git.baikalelectronics.ru Git - kernel.git/commit
Input: walkera0701 - clear unused function pointers
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>
Tue, 17 Nov 2015 17:33:48 +0000 (09:33 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Tue, 17 Nov 2015 18:00:15 +0000 (10:00 -0800)
commit4a8c2083042ced253c7535a6e09fbc6b19ef0a54
treef9cfa3924311acb62b170a6877f7d060b5feeb51
parente303f23dca988091258036fea50a40ef32583262
Input: walkera0701 - clear unused function pointers

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

Fixes: 0464a5ba3fd8 ("Input: walkera0701 - 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/walkera0701.c