mirror of
https://source.denx.de/u-boot/u-boot.git
synced 2025-08-16 04:07:00 +02:00
Use the IS_ENABLED() macro to reduce amount of #ifdef use in the driver and improve code coverage. With IS_ENABLED() macro, the code is compiled and then optimized out, which prevents bitrot. In case no PFC table matches the SoC in use, do not probe the driver and instead exit with -ENODEV. This should never happen under normal conditions, because this would mean the driver DT compatible string match happened, but the list in probe() cannot match the model listed in match data associated with the compatible string on which the match did happen. Signed-off-by: Marek Vasut <marek.vasut+renesas@mailbox.org> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pfc-r8a779a0.c | ||
pfc-r8a779f0.c | ||
pfc-r8a779g0.c | ||
pfc-r8a779h0.c | ||
pfc-r8a7790.c | ||
pfc-r8a7791.c | ||
pfc-r8a7792.c | ||
pfc-r8a7794.c | ||
pfc-r8a7796.c | ||
pfc-r8a77951.c | ||
pfc-r8a77965.c | ||
pfc-r8a77970.c | ||
pfc-r8a77980.c | ||
pfc-r8a77990.c | ||
pfc-r8a77995.c | ||
pfc.c | ||
pinctrl-rza1.c | ||
pinctrl-rzn1.c | ||
rzg2l-pfc.c | ||
sh_pfc.h |