diff options
author | Sam Edwards <cfsworks@gmail.com> | 2023-10-11 19:47:53 -0600 |
---|---|---|
committer | Andre Przywara <andre.przywara@arm.com> | 2023-10-22 23:41:52 +0100 |
commit | f9670d7b0b7f2d2205fdf10f11f35e327cd43033 (patch) | |
tree | bd7b4880fb4afb8daf917643a640d5fdf4579a86 /drivers/ddr | |
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>
Diffstat (limited to 'drivers/ddr')
0 files changed, 0 insertions, 0 deletions