Input: pixcir_i2c_ts - get rid of pdata->attb_read_val()
authorRoger Quadros <rogerq@ti.com>
Mon, 19 May 2014 05:46:43 +0000 (22:46 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 19 May 2014 06:25:57 +0000 (23:25 -0700)
commit0dfc8d41bfa091a61354eea73199a5af0eaae9c0
treeb251f6c4742b622a5b5229a5f2bd2f97cdcdc267
parent3b36fbb01dc50f58e7803006f5a99683daf26c8c
Input: pixcir_i2c_ts - get rid of pdata->attb_read_val()

Get rid of the attb_read_val() platform hook. Instead, read the ATTB gpio
directly from the driver.

Fail if valid ATTB gpio is not provided by patform data.

Signed-off-by: Roger Quadros <rogerq@ti.com>
Acked-by: Mugunthan V N <mugunthanvnm@ti.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/pixcir_i2c_ts.c
include/linux/input/pixcir_ts.h