summaryrefslogtreecommitdiff
path: root/include/linux/i2c-pxa.h
diff options
context:
space:
mode:
authorPatrick Williams <alpawi@amazon.com>2019-10-01 11:00:00 -0500
committerWolfram Sang <wsa@the-dreams.de>2019-11-11 21:38:09 +0100
commit7be5f90f689af5abb6b16755e212f76ed97a20dd (patch)
tree84599cafbbfd3d297d91de5d86fe4a7ec133d11a /include/linux/i2c-pxa.h
parent4d51b4cea21831422614366de4e929701846d801 (diff)
i2c: pxa: remove unused i2c-slave APIs
With the i2c-pxa driver migrated to the standard i2c-slave APIs, the custom APIs and structures are no longer needed or used. Remove them. Signed-off-by: Patrick Williams <alpawi@amazon.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c-pxa.h')
-rw-r--r--include/linux/i2c-pxa.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/linux/i2c-pxa.h b/include/linux/i2c-pxa.h
deleted file mode 100644
index a897e2b507b6..000000000000
--- a/include/linux/i2c-pxa.h
+++ /dev/null
@@ -1,18 +0,0 @@
-/* SPDX-License-Identifier: GPL-2.0 */
-#ifndef _LINUX_I2C_ALGO_PXA_H
-#define _LINUX_I2C_ALGO_PXA_H
-
-typedef enum i2c_slave_event_e {
- I2C_SLAVE_EVENT_START_READ,
- I2C_SLAVE_EVENT_START_WRITE,
- I2C_SLAVE_EVENT_STOP
-} i2c_slave_event_t;
-
-struct i2c_slave_client {
- void *data;
- void (*event)(void *ptr, i2c_slave_event_t event);
- int (*read) (void *ptr);
- void (*write)(void *ptr, unsigned int val);
-};
-
-#endif /* _LINUX_I2C_ALGO_PXA_H */