drivers/siemens/nc_fpga/nc_fpga: Remove space before '++'

Change-Id: I6ff11df45ddc396391efd651f9938e04646dc0d3
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77707
Reviewed-by: Jan Samek <jan.samek@siemens.com>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
This commit is contained in:
Elyes Haouas 2023-09-06 20:22:12 +02:00
parent ad0b3fa83d
commit 19b4e6487f
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ static void init_temp_mon (void *base_adr)
if ((hwilib_get_field(FANSensorNum, &num, 1) != 1) || if ((hwilib_get_field(FANSensorNum, &num, 1) != 1) ||
(num == 0) || (num > MAX_NUM_SENSORS)) (num == 0) || (num > MAX_NUM_SENSORS))
return; return;
for (i = 0; i < num; i ++) { for (i = 0; i < num; i++) {
if (hwilib_get_field(FANSensorCfg0 + i, (uint8_t *)&cc[0], if (hwilib_get_field(FANSensorCfg0 + i, (uint8_t *)&cc[0],
sizeof(cc)) == sizeof(cc)) { sizeof(cc)) == sizeof(cc)) {
ctrl->sensorcfg[cc[0]].rmin = cc[1] & 0xffff; ctrl->sensorcfg[cc[0]].rmin = cc[1] & 0xffff;