Re: [PATCH v6 7/9] drm/mediatek: dsi: Simplify with dev_err_probe and remove gotos

2024-02-15 Thread 胡俊光

[PATCH v6 7/9] drm/mediatek: dsi: Simplify with dev_err_probe and remove gotos

2024-02-15 Thread AngeloGioacchino Del Regno
Most of the functions that are called in the probe callback are devm managed, or all but mipi_dsi_host_register(): simplify the probe function's error paths with dev_err_probe() and remove the lonely instance of `goto err_unregister_host` by just directly calling the mipi_dsi_host_unregister() func