]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mfd: sec: Update includes to add missing and remove superfluous ones
authorAndré Draszik <andre.draszik@linaro.org>
Wed, 9 Apr 2025 20:37:27 +0000 (21:37 +0100)
committerLee Jones <lee@kernel.org>
Fri, 23 May 2025 07:48:20 +0000 (08:48 +0100)
commit5bef1b7f10a81b61863f11aaa146a773cbc64e61
treef1ca7cc8917c3e31713fa27e1be4d82f33337504
parent271dc4fbede4274d0729eec10a33bd772df2837a
mfd: sec: Update includes to add missing and remove superfluous ones

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.

Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: André Draszik <andre.draszik@linaro.org>
Link: https://lore.kernel.org/r/20250409-s2mpg10-v4-6-d66d5f39b6bf@linaro.org
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/sec-core.c
drivers/mfd/sec-irq.c