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

From: Alexandre Mergnat
Date: Tue Feb 06 2024 - 10:25:45 EST


Reviewed-by: Alexandre Mergnat <amergnat@xxxxxxxxxxxx>

On 06/02/2024 13:07, AngeloGioacchino Del Regno wrote:
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() function in the devm_request_irq() error
path, allowing to also remove the same label.

--
Regards,
Alexandre