src/soc/nvidia: Remove unnecessary space after casts
Change-Id: I096e88158027ac22cf93a9450c869807dbc14670
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/69810
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
diff --git a/src/soc/nvidia/tegra210/dp.c b/src/soc/nvidia/tegra210/dp.c
index f3bc208..f6f955c 100644
--- a/src/soc/nvidia/tegra210/dp.c
+++ b/src/soc/nvidia/tegra210/dp.c
@@ -36,7 +36,7 @@
static inline u32 tegra_dpaux_readl(struct tegra_dc_dp_data *dp, u32 reg)
{
- void *addr = dp->aux_base + (u32) (reg << 2);
+ void *addr = dp->aux_base + (u32)(reg << 2);
u32 reg_val = READL(addr);
return reg_val;
}
@@ -44,7 +44,7 @@
static inline void tegra_dpaux_writel(struct tegra_dc_dp_data *dp,
u32 reg, u32 val)
{
- void *addr = dp->aux_base + (u32) (reg << 2);
+ void *addr = dp->aux_base + (u32)(reg << 2);
WRITEL(val, addr);
}
diff --git a/src/soc/nvidia/tegra210/sor.c b/src/soc/nvidia/tegra210/sor.c
index 91ea5f4..c24e0d6 100644
--- a/src/soc/nvidia/tegra210/sor.c
+++ b/src/soc/nvidia/tegra210/sor.c
@@ -44,7 +44,7 @@
static inline u32 tegra_sor_readl(struct tegra_dc_sor_data *sor, u32 reg)
{
- void *addr = sor->base + (u32) (reg << 2);
+ void *addr = sor->base + (u32)(reg << 2);
u32 reg_val = READL(addr);
return reg_val;
}
@@ -52,7 +52,7 @@
static inline void tegra_sor_writel(struct tegra_dc_sor_data *sor,
u32 reg, u32 val)
{
- void *addr = sor->base + (u32) (reg << 2);
+ void *addr = sor->base + (u32)(reg << 2);
WRITEL(val, addr);
}
diff --git a/src/soc/nvidia/tegra210/spi.c b/src/soc/nvidia/tegra210/spi.c
index f8db110..0f38df2 100644
--- a/src/soc/nvidia/tegra210/spi.c
+++ b/src/soc/nvidia/tegra210/spi.c
@@ -478,7 +478,7 @@
dcache_clean_by_mva(spi->out_buf, bytes);
write32(&spi->dma_out->regs->apb_ptr,
- (uintptr_t) & spi->regs->tx_fifo);
+ (uintptr_t)&spi->regs->tx_fifo);
write32(&spi->dma_out->regs->ahb_ptr, (uintptr_t)spi->out_buf);
setbits32(&spi->dma_out->regs->csr, APB_CSR_DIR);
setup_dma_params(spi, spi->dma_out);