summaryrefslogtreecommitdiff
path: root/src/mainboard/getac
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2022-11-18 15:21:03 +0100
committerElyes Haouas <ehaouas@noos.fr>2023-01-30 22:11:50 +0000
commit486240fc7d2f1f8fc5bac2614d5f4139ab8d4ea3 (patch)
tree23e4c847aa743f03125518e6cf103c072fe3cb28 /src/mainboard/getac
parentf58abca47a48c3f3e6cee2599b1fcb7619865169 (diff)
src/mainboard: Remove unnecessary space after casts
Change-Id: Id8e1a52279e6a606441eefe30e24bcd44e006aad Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/69815 Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com> Reviewed-by: Jonathon Hall <jonathon.hall@puri.sm> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <jacz@semihalf.com>
Diffstat (limited to 'src/mainboard/getac')
-rw-r--r--src/mainboard/getac/p470/acpi_tables.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mainboard/getac/p470/acpi_tables.c b/src/mainboard/getac/p470/acpi_tables.c
index 2de388a74b..1429b59003 100644
--- a/src/mainboard/getac/p470/acpi_tables.c
+++ b/src/mainboard/getac/p470/acpi_tables.c
@@ -17,7 +17,7 @@ static long acpi_create_ecdt(acpi_ecdt_t * ecdt)
acpi_header_t *header = &(ecdt->header);
- memset((void *) ecdt, 0, ecdt_len);
+ memset((void *)ecdt, 0, ecdt_len);
/* fill out header fields */
memcpy(header->signature, "ECDT", 4);
@@ -48,7 +48,7 @@ static long acpi_create_ecdt(acpi_ecdt_t * ecdt)
memcpy(ecdt->ec_id, ec_id, sizeof(ec_id));
header->checksum =
- acpi_checksum((void *) ecdt, ecdt_len);
+ acpi_checksum((void *)ecdt, ecdt_len);
return header->length;
}