Re: [PATCH v2 05/31] clk: mediatek: gate: Clean up included headers

From: AngeloGioacchino Del Regno
Date: Thu Feb 03 2022 - 04:51:10 EST


Il 02/02/22 14:48, Chen-Yu Tsai ha scritto:
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@xxxxxxxxxxxx>
Reviewed-by: Miles Chen <miles.chen@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>