From 06575901cfd47fb02706f253a7b335aeb70664cd Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 28 Jun 2024 10:15:59 +0200 Subject: soc/nvidia: Remove unneeded white spaces Change-Id: Ifd19cdcfbdf0b01984e0db0aa880fdcb256663b4 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/83255 Tested-by: build bot (Jenkins) Reviewed-by: Felix Singer --- src/soc/nvidia/tegra124/power.c | 4 ++-- src/soc/nvidia/tegra124/sdram_lp0.c | 4 ++-- src/soc/nvidia/tegra210/power.c | 2 +- src/soc/nvidia/tegra210/sdram_lp0.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/soc/nvidia/tegra124/power.c b/src/soc/nvidia/tegra124/power.c index 3817dd96ed..8e9579c0dd 100644 --- a/src/soc/nvidia/tegra124/power.c +++ b/src/soc/nvidia/tegra124/power.c @@ -8,8 +8,8 @@ #include #include -static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE; -static struct flow_ctlr * const flow = (void *)TEGRA_FLOW_BASE; +static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE; +static struct flow_ctlr *const flow = (void *)TEGRA_FLOW_BASE; static int partition_powered(int id) { diff --git a/src/soc/nvidia/tegra124/sdram_lp0.c b/src/soc/nvidia/tegra124/sdram_lp0.c index ef3c716840..5361780919 100644 --- a/src/soc/nvidia/tegra124/sdram_lp0.c +++ b/src/soc/nvidia/tegra124/sdram_lp0.c @@ -23,8 +23,8 @@ */ void sdram_lp0_save_params(const struct sdram_params *sdram) { - struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE; - struct clk_rst_ctlr * clk_rst = (void *)TEGRA_CLK_RST_BASE; + struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE; + struct clk_rst_ctlr *clk_rst = (void *)TEGRA_CLK_RST_BASE; #define pack(src, src_bits, dst, dst_bits) { \ _Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \ diff --git a/src/soc/nvidia/tegra210/power.c b/src/soc/nvidia/tegra210/power.c index 4968c85120..4d74142d63 100644 --- a/src/soc/nvidia/tegra210/power.c +++ b/src/soc/nvidia/tegra210/power.c @@ -7,7 +7,7 @@ #include #include -static struct tegra_pmc_regs * const pmc = (void *)TEGRA_PMC_BASE; +static struct tegra_pmc_regs *const pmc = (void *)TEGRA_PMC_BASE; enum { POWER_GATE = 0, diff --git a/src/soc/nvidia/tegra210/sdram_lp0.c b/src/soc/nvidia/tegra210/sdram_lp0.c index 5d65b2dd61..81402cd78a 100644 --- a/src/soc/nvidia/tegra210/sdram_lp0.c +++ b/src/soc/nvidia/tegra210/sdram_lp0.c @@ -12,7 +12,7 @@ */ void sdram_lp0_save_params(const struct sdram_params *sdram) { - struct tegra_pmc_regs * pmc = (void *)TEGRA_PMC_BASE; + struct tegra_pmc_regs *pmc = (void *)TEGRA_PMC_BASE; #define pack(src, src_bits, dst, dst_bits) { \ _Static_assert((1 ? src_bits) >= (0 ? src_bits) && (1 ? dst_bits) >= \ -- cgit v1.2.3