In preparation for future extensions, rename functions to use sdw_bus_master prefix and add a parent and fwnode argument to sdw_bus_master_add to help with device registration in follow-up patches. No functionality change, just renames and additional arguments. The Intel code is currently unused, the two additional arguments are only needed for compilation.
Showing the changes to include/linux (1 of 5 files). Show all
Unified · Split
| @@ -832,8 +832,9 @@ struct sdw_bus { · 831 unmodified lines | |||
| 832 | bool multi_link; | 832 | bool multi_link; |
| 833 | }; | 833 | }; |
| 834 | 834 | ||
| 835 | int sdw_add_bus_master(struct sdw_bus *bus); | 835 | int sdw_bus_master_add(struct sdw_bus *bus, struct device *parent, |
| 836 | void sdw_delete_bus_master(struct sdw_bus *bus); | 836 | struct fwnode_handle *fwnode); |
| 837 | void sdw_bus_master_delete(struct sdw_bus *bus); | ||
| 837 | 838 | ||
| 838 | /** | 839 | /** |
| 839 | * sdw_port_config: Master or Slave Port configuration | 840 | * sdw_port_config: Master or Slave Port configuration |