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

Miles Chen miles.chen at mediatek.com
Sat May 14 10:06:24 PDT 2022


> 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 at chromium.org>

Reviewed-by: Miles Chen <miles.chen at mediatek.com> 



More information about the linux-arm-kernel mailing list