dm: core: Convert #ifdef to if() in root.c
authorSimon Glass <sjg@chromium.org>
Sat, 3 Oct 2020 17:31:37 +0000 (11:31 -0600)
committerSimon Glass <sjg@chromium.org>
Thu, 29 Oct 2020 20:42:18 +0000 (14:42 -0600)
commit9e948b9b99d17ea6c2204a1b6251a5c33ee83dd9
tree191636f43861aa9bcc8ecb13be7cf29401d6a9ab
parentfbe27a54ebbe7433bbccf242f4edda61e2c1ba3e
dm: core: Convert #ifdef to if() in root.c

Convert a few conditions to use compile-time checks to reduce the number
of build paths.

Signed-off-by: Simon Glass <sjg@chromium.org>
drivers/core/root.c