drivers/spi/tpm: Remove space between function name and '('

Change-Id: I9804fcd9076b5a4813f099db0852a5af5ac36609
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/77523
Reviewed-by: Felix Singer <service+coreboot-gerrit@felixsinger.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
This commit is contained in:
Elyes Haouas 2023-08-26 16:49:52 +02:00 committed by Felix Singer
parent 3c1a1093d3
commit 77d00b27af
1 changed files with 1 additions and 1 deletions

View File

@ -333,7 +333,7 @@ static uint8_t tpm2_read_access_reg(void)
static void tpm2_write_access_reg(uint8_t cmd) static void tpm2_write_access_reg(uint8_t cmd)
{ {
/* Writes to access register can set only 1 bit at a time. */ /* Writes to access register can set only 1 bit at a time. */
assert (!(cmd & (cmd - 1))); assert(!(cmd & (cmd - 1)));
tpm2_write_reg(TPM_ACCESS_REG, &cmd, sizeof(cmd)); tpm2_write_reg(TPM_ACCESS_REG, &cmd, sizeof(cmd));
} }