Remove the .priv_xfers() callback from the framework after all master controller drivers have switched to use the new .i3c_xfers() callback.
Showing the changes to include/linux (1 of 2 files). Show all
Unified · Split
| @@ -417,12 +417,8 @@ struct i3c_bus { · 416 unmodified lines | ||
| 417 | 417 | * all CCC commands are supported. |
| 418 | 418 | * @send_ccc_cmd: send a CCC command |
| 419 | 419 | * This method is mandatory. |
| 420 | − * @priv_xfers: do one or several private I3C SDR transfers | |
| 421 | − * This method is mandatory when i3c_xfers is not implemented. It | |
| 422 | − * is deprecated. | |
| 423 | − * @i3c_xfers: do one or several I3C SDR or HDR transfers | |
| 424 | − * This method is mandatory when priv_xfers is not implemented but | |
| 425 | − * should be implemented instead of priv_xfers. | |
| 420 | + * @i3c_xfers: do one or several I3C SDR or HDR transfers. | |
| 421 | + * This method is mandatory. | |
| 426 | 422 | * @attach_i2c_dev: called every time an I2C device is attached to the bus. |
| 427 | 423 | * This is a good place to attach master controller specific |
| 428 | 424 | * data to I2C devices. |
| @@ -478,10 +474,6 @@ struct i3c_master_controller_ops { · 49 unmodified lines | ||
| 478 | 474 | const struct i3c_ccc_cmd *cmd); |
| 479 | 475 | int (*send_ccc_cmd)(struct i3c_master_controller *master, |
| 480 | 476 | struct i3c_ccc_cmd *cmd); |
| 481 | − /* Deprecated, please use i3c_xfers() */ | |
| 482 | − int (*priv_xfers)(struct i3c_dev_desc *dev, | |
| 483 | − struct i3c_priv_xfer *xfers, | |
| 484 | − int nxfers); | |
| 485 | 477 | int (*i3c_xfers)(struct i3c_dev_desc *dev, |
| 486 | 478 | struct i3c_xfer *xfers, |
| 487 | 479 | int nxfers, enum i3c_xfer_mode mode); |