Re: [PATCH v2 18/31] clk: mediatek: Implement mtk_clk_unregister_composites() API

From: AngeloGioacchino Del Regno
Date: Thu Feb 03 2022 - 04:50:18 EST


Il 02/02/22 14:48, Chen-Yu Tsai ha scritto:
mtk_clk_register_composites(), as the name suggests, is used to register
a given list of composite clks. However it is lacking a counterpart
unregister API.

Implement said unregister API so that the various clock platform drivers
can utilize it to do proper unregistration, cleanup and removal.

In the header file, the register function's declaration is also
reformatted to fit code style guidelines.

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

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