]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: gate: Internalize clk implementation
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 8 Feb 2022 12:40:06 +0000 (20:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 17 Feb 2022 20:12:21 +0000 (12:12 -0800)
commit9bd7628993923c0fe00355c86ebfe8ca7e5cf9e9
treef0464e8a5f02d9aab7ba6551f8b84fc69fd89eb3
parentece804c1038d3c9aa4570a0bbb75afaea40f3656
clk: mediatek: gate: Internalize clk implementation

struct mtk_clk_gate and mtk_clk_register_gate() are not used outside of
the gate clk library. Only the API that handles a list of clks is used
by the individual platform clk drivers.

Internalize the parts that aren't used outside of the implementation.

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-4-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-gate.c
drivers/clk/mediatek/clk-gate.h