summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-06 20:22:12 +0200
committerElyes Haouas <ehaouas@noos.fr>2023-09-07 17:34:53 +0000
commit19b4e6487fb31657bb2d39a03afc14dfa9bd7cc1 (patch)
tree5c172ebc59a562de261d54e8d2671b36ceafd05f
parentad0b3fa83dc4a02adf8bfd391f9a6dfd3c2412ad (diff)
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>
-rw-r--r--src/drivers/siemens/nc_fpga/nc_fpga.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/siemens/nc_fpga/nc_fpga.c b/src/drivers/siemens/nc_fpga/nc_fpga.c
index dd30d5167e..bc47d30659 100644
--- a/src/drivers/siemens/nc_fpga/nc_fpga.c
+++ b/src/drivers/siemens/nc_fpga/nc_fpga.c
@@ -31,7 +31,7 @@ static void init_temp_mon (void *base_adr)
if ((hwilib_get_field(FANSensorNum, &num, 1) != 1) ||
(num == 0) || (num > MAX_NUM_SENSORS))
return;
- for (i = 0; i < num; i ++) {
+ for (i = 0; i < num; i++) {
if (hwilib_get_field(FANSensorCfg0 + i, (uint8_t *)&cc[0],
sizeof(cc)) == sizeof(cc)) {
ctrl->sensorcfg[cc[0]].rmin = cc[1] & 0xffff;