/* Helpers are provided for a number of standard MIPI DSI command as well as a subset of the MIPI DCS command set. mipi_dsi_attach - attach a DSI device to its DSI host @dsi: DSI peripheral  */
int mipi_dsi_attach(struct mipi_dsi_device *dsi)
/* Helpers are provided for a number of standard MIPI DSI command as well as a subset of the MIPI DCS command set. mipi_dsi_attach - attach a DSI device to its DSI host @dsi: DSI peripheral  */
int mipi_dsi_attach(struct mipi_dsi_device *dsi)
{
	const struct mipi_dsi_host_ops *ops = dsi->host->ops;
	if (!ops || !ops->attach)
		return -ENOSYS;
	return ops->attach(dsi->host, dsi);
}