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 | 232 | * struct i2c_driver - represent an I2C device driver |
| 233 | 233 | * @class: What kind of i2c device we instantiate (for detect) |
| 234 | − * @attach_adapter: Callback for bus addition (deprecated) | |
| 235 | 234 | * @probe: Callback for device binding - soon to be deprecated |
| 236 | 235 | * @probe_new: New callback for device binding |
| 237 | 236 | * @remove: Callback for device unbinding |
| @@ -268,11 +267,6 @@ enum i2c_alert_protocol { · 30 unmodified lines | ||
| 268 | 267 | struct i2c_driver { |
| 269 | 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 | 270 | /* Standard driver model interfaces */ |
| 277 | 271 | int (*probe)(struct i2c_client *, const struct i2c_device_id *); |
| 278 | 272 | int (*remove)(struct i2c_client *); |