commit | f9670d7b0b7f2d2205fdf10f11f35e327cd43033 | [log] [tgz] |
---|---|---|
author | Sam Edwards <cfsworks@gmail.com> | Wed Oct 11 19:47:53 2023 -0600 |
committer | Andre Przywara <andre.przywara@arm.com> | Sun Oct 22 23:41:52 2023 +0100 |
tree | bd7b4880fb4afb8daf917643a640d5fdf4579a86 | |
parent | beeace9ba1689e6eaba8d286f885a5f0e973b26e [diff] |
sunxi: psci: clean away preprocessor macros This patch restructures psci.c to get away from the "many different function definitions switched by #ifdef" paradigm to the preferred style of having a single function definition with `if (IS_ENABLED(...))` to make the optimizer include only the appropriate function bodies instead. There are no functional changes here. Signed-off-by: Sam Edwards <CFSworks@gmail.com> Reviewed-by: Andre Przywara <andre.przywara@arm.com>