checkpatch.pl: Request if() instead #ifdef
authorSimon Glass <sjg@chromium.org>
Fri, 22 May 2020 22:32:40 +0000 (16:32 -0600)
committerTom Rini <trini@konsulko.com>
Thu, 4 Jun 2020 22:10:02 +0000 (18:10 -0400)
commitdd5b0fad8f295c6e786f1528d09f03fa546289cd
tree2ee30e0f18ab5a085dd9dd65a0ecc9cf92066e7f
parent58978114d93d5010d15c8be792f9e444da5fb250
checkpatch.pl: Request if() instead #ifdef

There is a lot of use of #ifdefs in U-Boot. In an effort reduce this,
suggest using the compile-time construct.

Signed-off-by: Simon Glass <sjg@chromium.org>
scripts/checkpatch.pl