Re: [PATCH v3 06/32] mfd: sec: update includes to add missing and remove superfluous ones
From: Krzysztof Kozlowski
Date: Sun Apr 06 2025 - 14:15:20 EST
On 03/04/2025 10:58, André Draszik wrote:
> This driver misses to include some of the respective headers of some of
> the APIs used. It also includes headers that aren't needed (e.g. due to
> previous driver rework where includes weren't updated).
>
> It is good practice to directly include all headers used, which avoids
> implicit dependencies and spurious build breakage if someone rearranged
> headers, as this could cause the implicit includes to be dropped.
>
> Include the relevant headers explicitly and drop superfluous ones.
>
> Signed-off-by: André Draszik <andre.draszik@xxxxxxxxxx>
Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>
Best regards,
Krzysztof