]> git.baikalelectronics.ru Git - kernel.git/commit
clk: mediatek: pll: Clean up included headers
authorChen-Yu Tsai <wenst@chromium.org>
Tue, 8 Feb 2022 12:40:17 +0000 (20:40 +0800)
committerStephen Boyd <sboyd@kernel.org>
Thu, 17 Feb 2022 20:12:23 +0000 (12:12 -0800)
commitab4d85088370c6b0ac02cb4c3bc9b8536f501e52
tree7c154b669a031946f3ae0b415b204caba784c70c
parentf969f3d86e64c69ef3f42938b6c09091e0aa1cae
clk: mediatek: pll: Clean up included headers

Some included headers aren't actually used anywhere, while other headers
with the declaration of functions and structures aren't directly
included.

Get rid of the unused ones, and add the ones that should be included
directly.

Also, copy the MHZ macro from clk-mtk.h, and drop clk-mtk.h from the
included headers.

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-15-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-pll.c