There aren't any users left. Remove this callback from the 2.4 times. Phew, finally, that took years to reach...
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -231,7 +231,6 @@ enum i2c_alert_protocol { · 230 unmodified lines | |||
| 231 | /** | 231 | /** |
| 232 | * struct i2c_driver - represent an I2C device driver | 232 | * struct i2c_driver - represent an I2C device driver |
| 233 | * @class: What kind of i2c device we instantiate (for detect) | 233 | * @class: What kind of i2c device we instantiate (for detect) |
| 234 | * @attach_adapter: Callback for bus addition (deprecated) | ||
| 235 | * @probe: Callback for device binding - soon to be deprecated | 234 | * @probe: Callback for device binding - soon to be deprecated |
| 236 | * @probe_new: New callback for device binding | 235 | * @probe_new: New callback for device binding |
| 237 | * @remove: Callback for device unbinding | 236 | * @remove: Callback for device unbinding |
| @@ -268,11 +267,6 @@ enum i2c_alert_protocol { · 30 unmodified lines | |||
| 268 | struct i2c_driver { | 267 | struct i2c_driver { |
| 269 | unsigned int class; | 268 | unsigned int class; |
| 270 | 269 | ||
| 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 | |||
| 276 | /* Standard driver model interfaces */ | 270 | /* Standard driver model interfaces */ |
| 277 | int (*probe)(struct i2c_client *, const struct i2c_device_id *); | 271 | int (*probe)(struct i2c_client *, const struct i2c_device_id *); |
| 278 | int (*remove)(struct i2c_client *); | 272 | int (*remove)(struct i2c_client *); |