OSDN Git Service

input: touchscreen: Fix uninitialized variable usage in Atmel driver
authorVenkata Prahlad Valluru <vvalluru@codeaurora.org>
Tue, 3 Apr 2018 06:25:52 +0000 (11:55 +0530)
committerVenkata Prahlad Valluru <vvalluru@codeaurora.org>
Tue, 3 Apr 2018 06:25:52 +0000 (11:55 +0530)
commit4ff082fbfabcde558c0bb29e0a665cddd217ebb6
tree68dc51aec99409562ca98764e52cb3366fb111fd
parent225f40883b25079e415cf4e4effa8dce3c2dffda
input: touchscreen: Fix uninitialized variable usage in Atmel driver

Initialize variables that are passed by reference, so that
they can be used safely afterwards, irrespective of the
called function actions.

Change-Id: Ib7fa26b0682c719cabdb9cb94f206a93e3eaaf63
Signed-off-by: Venkata Prahlad Valluru <vvalluru@codeaurora.org>
drivers/input/touchscreen/atmel_maxtouch_ts.c