From a51d9b00f07a84550d25cd434497aa725d2f0820 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 18 Nov 2022 15:10:03 +0100 Subject: src/soc/cavium: Remove unnecessary space after casts Change-Id: Ieb094096e9e204e59a1f3fcf716d906e7736fb43 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69811 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/soc/cavium/cn81xx/twsi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/soc/cavium/cn81xx/twsi.c b/src/soc/cavium/cn81xx/twsi.c index b1c1e66fae..f06989b8af 100644 --- a/src/soc/cavium/cn81xx/twsi.c +++ b/src/soc/cavium/cn81xx/twsi.c @@ -497,7 +497,7 @@ static int twsi_write_data(void *baseaddr, const u8 slave_addr, twsi_sw.u = 0; twsi_sw.s.op = TWSI_SW_EOP_IA; twsi_sw.s.eop_ia = TWSI_DATA; - twsi_sw.s.data = (u32) (slave_addr << 1) | TWSI_OP_WRITE; + twsi_sw.s.data = (u32)(slave_addr << 1) | TWSI_OP_WRITE; twsi_write_sw(baseaddr, twsi_sw); twsi_write_ctl(baseaddr, TWSI_CTL_ENAB); @@ -574,7 +574,7 @@ static int twsi_read_data(void *baseaddr, const u8 slave_addr, twsi_sw.s.op = TWSI_SW_EOP_IA; twsi_sw.s.eop_ia = TWSI_DATA; - twsi_sw.s.data = (u32) (slave_addr << 1) | TWSI_OP_READ; + twsi_sw.s.data = (u32)(slave_addr << 1) | TWSI_OP_READ; twsi_write_sw(baseaddr, twsi_sw); twsi_write_ctl(baseaddr, TWSI_CTL_ENAB); -- cgit v1.2.3