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

Miles Chen miles.chen at mediatek.com
Mon Jan 24 08:29:27 PST 2022


> 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 at chromium.org>
>
Reviewed-by: Miles Chen <miles.chen at mediatek.com>



More information about the Linux-mediatek mailing list