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

Alexandre Mergnat amergnat at baylibre.com
Tue Feb 6 07:20:10 PST 2024


Reviewed-by: Alexandre Mergnat <amergnat at baylibre.com>

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



More information about the Linux-mediatek mailing list