Re: [PATCH v3 03/55] clk: mediatek: Migrate to mtk_clk_pdev_probe() for multimedia clocks

From: Chen-Yu Tsai
Date: Mon Feb 20 2023 - 22:45:41 EST


On Mon, Feb 20, 2023 at 11:01 PM AngeloGioacchino Del Regno
<angelogioacchino.delregno@xxxxxxxxxxxxx> wrote:
>
> Reduce duplication and simplify all MediaTek multimedia clock drivers
> by migrating away from defining custom probe functions for each driver
> and instead use mtk_clk_pdev_probe().
>
> While at it, also add a .remove() callback to all of the multimedia
> clock drivers where missing.
>
> Signed-off-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>
> Reviewed-by: Chen-Yu Tsai <wenst@xxxxxxxxxxxx>
> ---
> drivers/clk/mediatek/clk-mt2701-mm.c | 31 +++++---------
> drivers/clk/mediatek/clk-mt2712-mm.c | 31 +++++---------
> drivers/clk/mediatek/clk-mt6779-mm.c | 24 +++++------
> drivers/clk/mediatek/clk-mt6795-mm.c | 55 +++++-------------------
> drivers/clk/mediatek/clk-mt6797-mm.c | 31 +++++---------
> drivers/clk/mediatek/clk-mt8167-mm.c | 47 +++++----------------
> drivers/clk/mediatek/clk-mt8173-mm.c | 58 +++++---------------------
> drivers/clk/mediatek/clk-mt8183-mm.c | 24 +++++------
> drivers/clk/mediatek/clk-mt8186-mm.c | 56 +++++--------------------
> drivers/clk/mediatek/clk-mt8192-mm.c | 29 +++++--------
> drivers/clk/mediatek/clk-mt8195-vdo0.c | 55 +++++-------------------
> drivers/clk/mediatek/clk-mt8195-vdo1.c | 57 ++++++-------------------

> drivers/clk/mediatek/clk-mt8195-vpp0.c | 54 +++++-------------------
> drivers/clk/mediatek/clk-mt8195-vpp1.c | 54 +++++-------------------

This doesn't apply for these two files. Can you rebase onto clk-next?
Stephen hand applied v6 and edited of the vpp patches, not the final v7
version, so the code is slightly different, even though the functionality
is the same.

ChenYu