aboutsummaryrefslogtreecommitdiff
path: root/src/southbridge/intel/lynxpoint/acpi.c
diff options
context:
space:
mode:
authorAngel Pons <th3fanbus@gmail.com>2020-10-17 18:28:29 +0200
committerAngel Pons <th3fanbus@gmail.com>2020-10-23 18:10:51 +0000
commit8cb8374e3c8b3236527796df210ac3d6bbaf3065 (patch)
tree25df04cbfafb097c4a5a2da80cc29c5af867a849 /src/southbridge/intel/lynxpoint/acpi.c
parent5d92aa5882c13dd11fe6fa155d2dea3371856871 (diff)
sb/intel/lynxpoint: Drop space after casts
Casts can be considered unary operators, so drop the space. Tested with BUILD_TIMELESS=1, Asrock B85M Pro4 remains identical. Change-Id: Ib180c28ff1d7520c82d2b5a5ec79d288ac8b0cf3 Signed-off-by: Angel Pons <th3fanbus@gmail.com> Reviewed-on: https://review.coreboot.org/c/coreboot/+/46528 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Nico Huber <nico.h@gmx.de> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'src/southbridge/intel/lynxpoint/acpi.c')
-rw-r--r--src/southbridge/intel/lynxpoint/acpi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/southbridge/intel/lynxpoint/acpi.c b/src/southbridge/intel/lynxpoint/acpi.c
index 8fee16b378..ce1b109342 100644
--- a/src/southbridge/intel/lynxpoint/acpi.c
+++ b/src/southbridge/intel/lynxpoint/acpi.c
@@ -14,7 +14,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
acpi_header_t *header = &(hpet->header);
acpi_addr_t *addr = &(hpet->addr);
- memset((void *) hpet, 0, sizeof(acpi_hpet_t));
+ memset((void *)hpet, 0, sizeof(acpi_hpet_t));
/* fill out header fields */
memcpy(header->signature, "HPET", 4);
@@ -37,7 +37,7 @@ void acpi_create_intel_hpet(acpi_hpet_t * hpet)
hpet->min_tick = 0x0080;
header->checksum =
- acpi_checksum((void *) hpet, sizeof(acpi_hpet_t));
+ acpi_checksum((void *)hpet, sizeof(acpi_hpet_t));
}
static void acpi_create_serialio_ssdt_entry(int id, struct global_nvs *gnvs)
@@ -66,7 +66,7 @@ void acpi_create_serialio_ssdt(acpi_header_t *ssdt)
memcpy(&ssdt->asl_compiler_id, ASLC, 4);
ssdt->asl_compiler_revision = asl_revision;
ssdt->length = sizeof(acpi_header_t);
- acpigen_set_current((char *) current);
+ acpigen_set_current((char *)current);
/* Fill the SSDT with an entry for each SerialIO device */
for (id = 0; id < 8; id++)