diff options
author | Oreste Salerno <oreste.salerno@tomtom.com> | 2016-01-27 13:53:33 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2016-01-27 14:32:46 -0800 |
commit | e4cf92ba44b86d287bdf1ef6a70417b98c441c7b (patch) | |
tree | 5f3d18b5376ec0bdd680d7abaa5da187e829631b /drivers/input/touchscreen/cyttsp_core.h | |
parent | 809d9516da73345cca587743b57e45e9095d851e (diff) | |
download | linux-e4cf92ba44b86d287bdf1ef6a70417b98c441c7b.tar.bz2 |
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.h | 1 |
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); |