Re: [PATCH v2 10/11] clk: mediatek: mt8173: Fix usage of mtk_clk_register_ref2usb_tx()

From: Miles Chen
Date: Sat May 14 2022 - 13:06:40 EST


> As part of the effort to improve the MediaTek clk drivers, the next step
> is to switch from the old 'struct clk' clk prodivder APIs to the new
> 'struct clk_hw' ones.
>
> The apmixed clk library contains one special clk type that doesn't fit
> any of the generic clk types. This type is currently used only on the
> MT8173 SoC. The code for this clk type was converted by the coccinelle
> script from the previous patch, but the call site was not.
>
> Fix the return variable type for mtk_clk_register_ref2usb_tx() in the
> MT8173 clk driver.
>
> Signed-off-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>

Reviewed-by: Miles Chen <miles.chen@xxxxxxxxxxxx>