Re: [PATCH v2 17/31] clk: mediatek: Implement mtk_clk_unregister_divider_clks() API

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


Il 02/02/22 14:48, Chen-Yu Tsai ha scritto:
mtk_clk_register_divider_clks(), as the name suggests, is used to register
a given list of divider 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: Miles Chen <miles.chen@xxxxxxxxxxxx>

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