Re: [PATCH v3 29/31] clk: mediatek: mt8195: Implement error handling in probe functions

From: AngeloGioacchino Del Regno
Date: Tue Feb 08 2022 - 08:28:08 EST


Il 08/02/22 13:40, Chen-Yu Tsai ha scritto:
Until now the mediatek clk driver library did not have any way to
unregister clks, and so all drivers did not do proper cleanup in
their error paths.

Now that the library does have APIs to unregister clks, use them
in the error path of the probe functions for the mt8195 clk drivers
to do proper cleanup.

Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>