summaryrefslogtreecommitdiff
path: root/include/linux/platform_data/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/platform_data/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/platform_data/i2c-pxa.h')
-rw-r--r--include/linux/platform_data/i2c-pxa.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/linux/platform_data/i2c-pxa.h b/include/linux/platform_data/i2c-pxa.h
index cb290092599c..6a9b28399b39 100644
--- a/include/linux/platform_data/i2c-pxa.h
+++ b/include/linux/platform_data/i2c-pxa.h
@@ -55,11 +55,7 @@
*/
#define I2C_ISR_INIT 0x7FF /* status register init */
-struct i2c_slave_client;
-
struct i2c_pxa_platform_data {
- unsigned int slave_addr;
- struct i2c_slave_client *slave;
unsigned int class;
unsigned int use_pio :1;
unsigned int fast_mode :1;