diff options
author | Chen-Yu Tsai <wenst@chromium.org> | 2022-02-08 15:40:08 +0300 |
---|---|---|
committer | Stephen Boyd <sboyd@kernel.org> | 2022-02-17 23:12:22 +0300 |
commit | 625afe4f05e111b883b95d1b345fd21c94e64cfa (patch) | |
tree | 9c9ad7b3f0f8d4e5ebba081bab12de90cd5359b5 /drivers/clk/mediatek/clk-mtk.c | |
parent | 44dd1414cf76d3e9f4073a3f9ff9b116dc9e79e9 (diff) | |
download | linux-625afe4f05e111b883b95d1b345fd21c94e64cfa.tar.xz |
clk: mediatek: gate: 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.
On the header side, replace headers that are included purely for data
structure definitions with forward declarations. This decreases the
amount of preprocessing and compilation effort required for each
inclusion.
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-6-wenst@chromium.org
Reviewed-by: Chun-Jie Chen <chun-jie.chen@mediatek.com>
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
Diffstat (limited to 'drivers/clk/mediatek/clk-mtk.c')
0 files changed, 0 insertions, 0 deletions