powerpc/setup: replace ifdefs by IS_ENABLED() wherever possible.
authorChristophe Leroy <christophe.leroy@c-s.fr>
Fri, 22 Mar 2019 08:08:45 +0000 (08:08 +0000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 2 May 2019 15:58:11 +0000 (01:58 +1000)
commit65184f2f045abc0eb35f934f6cbf7e23b9875e7c
tree1f4b1807dcc0d16daf24ddcc4f3dd5fd85e13c47
parent48018e42e5c70c8ac4b222cc76af1a15ea2e09e7
powerpc/setup: replace ifdefs by IS_ENABLED() wherever possible.

Compared to ifdefs, IS_ENABLED() provide a cleaner code and allows
to detect compilation failure regardless of the selected options.

Signed-off-by: Christophe Leroy <christophe.leroy@c-s.fr>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
arch/powerpc/kernel/setup-common.c