Re: [PATCH 4/4] stm32mp15: tidy up #ifdefs in cpu.c

2021-11-22 Thread Patrice CHOTARD
Hi Patrick On 10/11/21 9:52 AM, Patrick Delaunay wrote: > We should avoid #ifdef in C modules and the unused functions > are eliminated by the linker. > > Use the more readable IS_ENABLE() instead. > > Signed-off-by: Patrick Delaunay > --- > > arch/arm/mach-stm32mp/cpu.c | 34 +++-

[PATCH 4/4] stm32mp15: tidy up #ifdefs in cpu.c

2021-10-11 Thread Patrick Delaunay
We should avoid #ifdef in C modules and the unused functions are eliminated by the linker. Use the more readable IS_ENABLE() instead. Signed-off-by: Patrick Delaunay --- arch/arm/mach-stm32mp/cpu.c | 34 +++--- 1 file changed, 15 insertions(+), 19 deletions(-) diff