clk: mediatek: mux: Internalize struct mtk_clk_mux
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 8 Feb 2022 12:40:13 +0000 (20:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 17 Feb 2022 20:12:22 +0000 (12:12 -0800)
commit7b375737e47eaf6c715a3cf1d6d7089b4d295b0d
tree5600ec767f6c8b6bb3ee935fb95dfc93da4d46fc
parent0b4b0387ddf6ab2b29d16147973fcf12ba0a0441
clk: mediatek: mux: Internalize struct mtk_clk_mux

struct mtk_clk_mux is an implementation detail of the mux clk type,
and is not used outside of the implementation.

Internalize the definition to minimize leakage of details and shrink
the header file.

Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Reviewed-by: Miles Chen <miles.chen@mediatek.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Link: https://lore.kernel.org/r/20220208124034.414635-11-wenst@chromium.org
Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/mediatek/clk-mux.c
drivers/clk/mediatek/clk-mux.h