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:
parent
3c1a1093d3
commit
77d00b27af
|
@ -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));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue