History

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...

Wolfram Sang committed 8 years ago

Commit 0c36dd31 parent 3e7bed52 files · +1 −16Browse files

Showing the changes to include/linux (1 of 2 files). Show all

Unified · Split

include/linux/i2c.h+0−6
@@ -231,7 +231,6 @@ enum i2c_alert_protocol { · 230 unmodified lines
231231 /**
232232 * struct i2c_driver - represent an I2C device driver
233233 * @class: What kind of i2c device we instantiate (for detect)
234− * @attach_adapter: Callback for bus addition (deprecated)
235234 * @probe: Callback for device binding - soon to be deprecated
236235 * @probe_new: New callback for device binding
237236 * @remove: Callback for device unbinding
@@ -268,11 +267,6 @@ enum i2c_alert_protocol { · 30 unmodified lines
268267 struct i2c_driver {
269268 unsigned int class;
270269
271− /* Notifies the driver that a new bus has appeared. You should avoid
272− * using this, it will be removed in a near future.
273− */
274− int (*attach_adapter)(struct i2c_adapter *) __deprecated;
275−
276270 /* Standard driver model interfaces */
277271 int (*probe)(struct i2c_client *, const struct i2c_device_id *);
278272 int (*remove)(struct i2c_client *);