Input: cyttsp - I2C driver split into two modules
authorFerruh Yigit <fery@cypress.com>
Mon, 1 Jul 2013 01:46:56 +0000 (18:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 1 Jul 2013 04:24:16 +0000 (21:24 -0700)
commit9664877ed8956b81feb3bd6b3b2621b5fcdb624f
tree47686dcd90262e9badd8dcdff641520e68389833
parentb56ece9a3ac3c9708b8f1cebf4ba24c258d40e52
Input: cyttsp - I2C driver split into two modules

Existing I2C code is for TrueTouch Gen3 devices

TrueTouch Gen4 device is using same protocol, will split driver into
two pieces to use common code with both drivers.

Read/Write functions parameter list modified, since shared code will
be used by two separate drivers and these drivers are not sharing same
structs, parameters updated to use common structures.

Signed-off-by: Ferruh Yigit <fery@cypress.com>
Acked-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Acked-by: Javier Martinez Canillas <javier@dowhile0.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/Makefile
drivers/input/touchscreen/cyttsp_core.c
drivers/input/touchscreen/cyttsp_core.h
drivers/input/touchscreen/cyttsp_i2c.c
drivers/input/touchscreen/cyttsp_i2c_common.c [new file with mode: 0644]
drivers/input/touchscreen/cyttsp_spi.c