cyttsp: remove unnecessary pointer manipulation
authorHong Liu <hong.liu@intel.com>
Tue, 12 Apr 2011 01:41:51 +0000 (09:41 +0800)
committermgross <mark.gross@intel.com>
Wed, 9 Nov 2011 20:37:47 +0000 (12:37 -0800)
commit508713c313603d41343c5a5295527fd2c9d91c9f
tree690b2b0f38d1409629b746f450a6f714d030f240
parent817b266af327ba4014f6a632d629f1d743dacb00
cyttsp: remove unnecessary pointer manipulation

We store the pointer to struct cyttsp as driver data in cyttsp_core_init,
and bus driver (cyttsp_i2c) will pass this driver data to cyttsp_core later.

Change-Id: I56c506ccace2fe81c14c9277cba3bc1316fdc50c
Signed-off-by: Hong Liu <hong.liu@intel.com>
drivers/input/touchscreen/cyttsp_core.c