summaryrefslogtreecommitdiff
path: root/src/soc/intel/xeon_sp/pmutil.c
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:07:33 +0100
committerMartin L Roth <gaumless@gmail.com>2022-11-26 23:39:16 +0000
commit9018dee6856791ab599463a771826936c20a80bb (patch)
tree079e966e6b894bb9c81ca25e9e783c28947e0e64 /src/soc/intel/xeon_sp/pmutil.c
parent5aa98964fb4e2e8c10b1663f8d6a3faa2b700410 (diff)
src/soc/intel: Remove unnecessary space after casts
Change-Id: I098104f32dd7c66d7bb79588ef315a242c3889ba Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69806 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Werner Zeh <werner.zeh@siemens.com> Reviewed-by: Subrata Banik <subratabanik@google.com>
Diffstat (limited to 'src/soc/intel/xeon_sp/pmutil.c')
-rw-r--r--src/soc/intel/xeon_sp/pmutil.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/soc/intel/xeon_sp/pmutil.c b/src/soc/intel/xeon_sp/pmutil.c
index c63285c69b..3ac5d46243 100644
--- a/src/soc/intel/xeon_sp/pmutil.c
+++ b/src/soc/intel/xeon_sp/pmutil.c
@@ -92,12 +92,12 @@ const char *const *soc_std_gpe_sts_array(size_t *gpe_arr)
uint8_t *pmc_mmio_regs(void)
{
- return (void *)(uintptr_t) pci_read_config32(PCH_DEV_PMC, PWRMBASE);
+ return (void *)(uintptr_t)pci_read_config32(PCH_DEV_PMC, PWRMBASE);
}
uintptr_t soc_read_pmc_base(void)
{
- return (uintptr_t) (pmc_mmio_regs());
+ return (uintptr_t)(pmc_mmio_regs());
}
uint32_t *soc_pmc_etr_addr(void)