summaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint
diff options
context:
space:
mode:
authorElyes HAOUAS <ehaouas@noos.fr>2016-10-03 21:54:16 +0200
committerMartin Roth <martinroth@google.com>2016-10-07 18:08:03 +0200
commit035df005c5b9b473c2d61601c098792a34527a52 (patch)
tree0c2afbd8f6dc4d773ee4a720a4348ba254a78104 /src/southbridge/intel/lynxpoint
parentc44fb50185571b6bdf4febcc4cc1476a79c67ae2 (diff)
src/southbridge: Remove whitespace after sizeof
Change-Id: Ic3b599d49a4c03ad8035c558b975f31cb91d253b Signed-off-by: Elyes HAOUAS <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/16862 Tested-by: build bot (Jenkins) Reviewed-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Reviewed-by: Martin Roth <martinroth@google.com>
Diffstat (limited to 'src/southbridge/intel/lynxpoint')
-rw-r--r--src/southbridge/intel/lynxpoint/acpi.c2
-rw-r--r--src/southbridge/intel/lynxpoint/lpc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/southbridge/intel/lynxpoint/acpi.c b/src/southbridge/intel/lynxpoint/acpi.c
index f91702ff5d..2a02744a69 100644
--- a/src/southbridge/intel/lynxpoint/acpi.c
+++ b/src/southbridge/intel/lynxpoint/acpi.c
@@ -56,7 +56,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
static void acpi_create_serialio_ssdt_entry(int id, global_nvs_t *gnvs)
{
char sio_name[5] = {};
- snprintf(sio_name, sizeof (sio_name), "S%1uEN", id);
+ snprintf(sio_name, sizeof(sio_name), "S%1uEN", id);
acpigen_write_name_byte(sio_name, gnvs->s0b[id] ? 1 : 0);
}
diff --git a/src/southbridge/intel/lynxpoint/lpc.c b/src/southbridge/intel/lynxpoint/lpc.c
index f8ec94ec1f..a399eb357a 100644
--- a/src/southbridge/intel/lynxpoint/lpc.c
+++ b/src/southbridge/intel/lynxpoint/lpc.c
@@ -748,7 +748,7 @@ static void southbridge_inject_dsdt(device_t dev)
gnvs = cbmem_find(CBMEM_ID_ACPI_GNVS);
if (!gnvs) {
- gnvs = cbmem_add(CBMEM_ID_ACPI_GNVS, sizeof (*gnvs));
+ gnvs = cbmem_add(CBMEM_ID_ACPI_GNVS, sizeof(*gnvs));
if (gnvs)
memset(gnvs, 0, sizeof(*gnvs));
}