/* mipi_dsi_detach - detach a DSI device from its DSI host @dsi: DSI peripheral  */
int mipi_dsi_detach(struct mipi_dsi_device *dsi)
/* mipi_dsi_detach - detach a DSI device from its DSI host @dsi: DSI peripheral  */
int mipi_dsi_detach(struct mipi_dsi_device *dsi)
{
	const struct mipi_dsi_host_ops *ops = dsi->host->ops;
	if (!ops || !ops->detach)
		return -ENOSYS;
	return ops->detach(dsi->host, dsi);
}