summaryrefslogtreecommitdiffstats
path: root/include/linux/i2c.h
diff options
context:
space:
mode:
authorWolfram Sang <wsa@the-dreams.de>2018-08-21 17:02:40 +0200
committerWolfram Sang <wsa@the-dreams.de>2018-08-24 14:42:45 +0200
commit0c36dd37d5b80b43f4e3dc5a1dbfe6dbd86e8f2a (patch)
tree64b1f8a0de1df679da8215f5019d9b682ec97340 /include/linux/i2c.h
parent3e7bed52719de4b5b5fb900869e293eae0bc3f3e (diff)
downloadblackbird-op-linux-0c36dd37d5b80b43f4e3dc5a1dbfe6dbd86e8f2a.tar.gz
blackbird-op-linux-0c36dd37d5b80b43f4e3dc5a1dbfe6dbd86e8f2a.zip
i2c: remove deprecated attach_adapter callback
There aren't any users left. Remove this callback from the 2.4 times. Phew, finally, that took years to reach... Signed-off-by: Wolfram Sang <wsa@the-dreams.de>
Diffstat (limited to 'include/linux/i2c.h')
-rw-r--r--include/linux/i2c.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/linux/i2c.h b/include/linux/i2c.h
index 36f357ecdf67..b79387fd57da 100644
--- a/include/linux/i2c.h
+++ b/include/linux/i2c.h
@@ -231,7 +231,6 @@ enum i2c_alert_protocol {
/**
* struct i2c_driver - represent an I2C device driver
* @class: What kind of i2c device we instantiate (for detect)
- * @attach_adapter: Callback for bus addition (deprecated)
* @probe: Callback for device binding - soon to be deprecated
* @probe_new: New callback for device binding
* @remove: Callback for device unbinding
@@ -268,11 +267,6 @@ enum i2c_alert_protocol {
struct i2c_driver {
unsigned int class;
- /* Notifies the driver that a new bus has appeared. You should avoid
- * using this, it will be removed in a near future.
- */
- int (*attach_adapter)(struct i2c_adapter *) __deprecated;
-
/* Standard driver model interfaces */
int (*probe)(struct i2c_client *, const struct i2c_device_id *);
int (*remove)(struct i2c_client *);
OpenPOWER on IntegriCloud