Re: [PATCH 3/4] sunxi: board: annotate #endif lines

Samuel Holland
2022-12-14T05:49:37Z

On 12/13/22 18:22, Andre Przywara wrote:
> The legacy Allwinner code is cluttered with #ifdef's, some of them even
> nested, which makes the code hard to read and error prone.
> Eventually we will get rid of most of them, but for now let's at least
> annotate the #endif lines with the corresponding symbol the bracket
> started with.
>
> Signed-off-by: Andre Przywara <andre.przywara@arm.com>
> ---
> arch/arm/mach-sunxi/board.c | 8 ++++----
> arch/arm/mach-sunxi/clock_sun6i.c | 4 ++--
> board/sunxi/board.c | 11 +++++------
> 3 files changed, 11 insertions(+), 12 deletions(-)

Reviewed-by: Samuel Holland <samuel@sholland.org>
Tested-by: Samuel Holland <samuel@sholland.org>