diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2024-12-18 14:31:59 +0300 |
---|---|---|
committer | Madhavan Srinivasan <maddy@linux.ibm.com> | 2025-01-11 08:09:35 +0300 |
commit | 200f22fa48a8c670a1ba66d18d810c51055e6ae9 (patch) | |
tree | fd29ca33af58cc6f95fa7021bdd7b89c8b1ade22 /lib/string_helpers.c | |
parent | 8f70caad82e9c088ed93b4fea48d941ab6441886 (diff) | |
download | linux-200f22fa48a8c670a1ba66d18d810c51055e6ae9.tar.xz |
powerpc/prom_init: Use IS_ENABLED()
Use IS_ENABLED() for the device tree checks, so that more code is
checked by the compiler without having to build all the different
configurations.
Suggested-by: Rob Herring <robh@kernel.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Signed-off-by: Madhavan Srinivasan <maddy@linux.ibm.com>
Link: https://patch.msgid.link/20241218113159.422821-1-mpe@ellerman.id.au
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions