aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/input/touchscreen/cyttsp_core.h
diff options
context:
space:
mode:
authorOreste Salerno <oreste.salerno@tomtom.com>2016-01-27 13:53:33 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-01-27 14:32:46 -0800
commite4cf92ba44b86d287bdf1ef6a70417b98c441c7b (patch)
tree5f3d18b5376ec0bdd680d7abaa5da187e829631b /drivers/input/touchscreen/cyttsp_core.h
parentInput: gpio-keys - allow disabling individual buttons in DT (diff)
downloadlinux-dev-e4cf92ba44b86d287bdf1ef6a70417b98c441c7b.tar.xz
linux-dev-e4cf92ba44b86d287bdf1ef6a70417b98c441c7b.zip
Input: cyttsp - use devres managed resource allocations
Use devm_() functions for allocating memory, input device and IRQ. Signed-off-by: Oreste Salerno <oreste.salerno@tomtom.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/cyttsp_core.h')
-rw-r--r--drivers/input/touchscreen/cyttsp_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/cyttsp_core.h b/drivers/input/touchscreen/cyttsp_core.h
index 07074110a902..c5e7afce6de8 100644
--- a/drivers/input/touchscreen/cyttsp_core.h
+++ b/drivers/input/touchscreen/cyttsp_core.h
@@ -143,7 +143,6 @@ struct cyttsp {
struct cyttsp *cyttsp_probe(const struct cyttsp_bus_ops *bus_ops,
struct device *dev, int irq, size_t xfer_buf_size);
-void cyttsp_remove(struct cyttsp *ts);
int cyttsp_i2c_write_block_data(struct device *dev, u8 *xfer_buf, u16 addr,
u8 length, const void *values);