[PATCH v3 06/32] mfd: sec: update includes to add missing and remove superfluous ones

Krzysztof Kozlowski krzk at kernel.org
Sun Apr 6 11:15:03 PDT 2025


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 at linaro.org>


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski at linaro.org>

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list