diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-08-26 16:49:52 +0200 |
---|---|---|
committer | Felix Singer <service+coreboot-gerrit@felixsinger.de> | 2023-08-28 03:10:04 +0000 |
commit | 77d00b27af77ab3d680e5b94458635cb43b9fc01 (patch) | |
tree | eda6e4a0c88dff1cec4ed5ccd12c0c299f6a2fa8 /src/drivers | |
parent | 3c1a1093d3c348ef4829c72ebc11c87f8ce8b29b (diff) |
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>
Diffstat (limited to 'src/drivers')
-rw-r--r-- | src/drivers/spi/tpm/tpm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/tpm/tpm.c b/src/drivers/spi/tpm/tpm.c index 5bb56db867..898d570a47 100644 --- a/src/drivers/spi/tpm/tpm.c +++ b/src/drivers/spi/tpm/tpm.c @@ -333,7 +333,7 @@ static uint8_t tpm2_read_access_reg(void) static void tpm2_write_access_reg(uint8_t cmd) { /* 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)); } |