]> git.baikalelectronics.ru Git - kernel.git/commit
Input: tsc2005 - do not use 0 in place of NULL
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 05:10:52 +0000 (22:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 17 Mar 2011 06:29:08 +0000 (23:29 -0700)
commitaa3163d7b7f23d19faa16e3cf9bbe1581f4efd0e
tree5ab415c2795f9974b515c94220986f055dd7fadc
parent72f3c4fae0c0b94eefaef88fac20da4dfc3580dd
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