From 24ca80aab6f5e001c5ce2ac5e8c29e8664215861 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 18 Nov 2022 15:11:33 +0100 Subject: src/superio: Remove unnecessary space after casts Change-Id: Iab76316f345fb0cf2ca2a3eaf40f64a1f1b7fc13 Signed-off-by: Elyes Haouas Reviewed-on: https://review.coreboot.org/c/coreboot/+/69814 Reviewed-by: Eric Lai Tested-by: build bot (Jenkins) --- src/superio/fintek/f81803a/fan_control.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/superio/fintek/f81803a/fan_control.c') diff --git a/src/superio/fintek/f81803a/fan_control.c b/src/superio/fintek/f81803a/fan_control.c index 06a83387a0..8b5ddaca04 100644 --- a/src/superio/fintek/f81803a/fan_control.c +++ b/src/superio/fintek/f81803a/fan_control.c @@ -281,7 +281,7 @@ int set_sections(u16 base_address, u8 fan, u8 *boundaries, u8 *sections) if (value > 100) return message_invalid_2(HWM_STATUS_INVALID_SECTION_VALUE, fan); temp = (255 * value) / 100; - value = (u8) (temp & 0x00ff); + value = (u8)(temp & 0x00ff); write_hwm_reg(base_address, index, value); index++; } -- cgit v1.2.3