ARM: at91: sama5d27-som1: clean up lowlevel.c
In ARM, stack decrements before storing values, so decrementing a number
from the stack base is unnecessary. Existing instances of this were
removed in 6b3dc4abd8 ("ARM: Cleanup stack offset cargo cult"), but the
sama5d27-som1 board was added later than that. Fix the cargo cult here
as well and while at it, turn a macro that doesn't need to be one
into a static inline function.

Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent fd5b602 commit f5ac186c973856752fac2b7eee210afd94135f1c
@Ahmad Fatoum Ahmad Fatoum authored on 10 Mar 2020
Sascha Hauer committed on 18 Mar 2020
Showing 1 changed file
View
arch/arm/boards/sama5d27-som1/lowlevel.c