Input: tsc2005 - do not use 0 in place of NULL
commit9a6e180af78247e3a7680460240bb450c39d3a5b
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 05:10:52 +0000 (16 22:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 06:29:08 +0000 (16 23:29 -0700)
tree5ab415c2795f9974b515c94220986f055dd7fadc
parentc8b6846a7559e64d7ac4ba1ccdba05f3ee2e34e8
Input: tsc2005 - do not use 0 in place of NULL

Sparse in unhappy when people use 0 instead of NULL for pointers so
let's rework the way we initialize spi_transfer structure in
tsc2005_cmd() and tsc2005_write().

Tested-by: Aaro Koskinen <aaro.koskinen@nokia.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/touchscreen/tsc2005.c