summaryrefslogtreecommitdiff
path: root/src/drivers/spi
diff options
context:
space:
mode:
authorElyes Haouas <ehaouas@noos.fr>2023-09-10 10:41:55 +0200
committerMartin L Roth <gaumless@gmail.com>2023-09-11 15:51:04 +0000
commit78d2469f057631096dbc50caae93511f9206232e (patch)
tree9c47e4550a584cebe840717237eeb416eb2f870f /src/drivers/spi
parent0d3a1fb93fe89aff927a7f724ef9463ad63f5648 (diff)
drivers: Remove space between function name and '('
Change-Id: I42e995952a72a23a5f3aeadf428ad13f25546854 Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/77772 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jan Samek <jan.samek@siemens.com> Reviewed-by: Eric Lai <eric_lai@quanta.corp-partner.google.com>
Diffstat (limited to 'src/drivers/spi')
-rw-r--r--src/drivers/spi/spi-generic.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drivers/spi/spi-generic.c b/src/drivers/spi/spi-generic.c
index c1ecd67467..ef7438ed5f 100644
--- a/src/drivers/spi/spi-generic.c
+++ b/src/drivers/spi/spi-generic.c
@@ -91,7 +91,7 @@ unsigned int spi_crop_chunk(const struct spi_slave *slave, unsigned int cmd_len,
deduct_opcode_len = !!(ctrlr->flags & SPI_CNTRLR_DEDUCT_OPCODE_LEN);
ctrlr_max = ctrlr->max_xfer_size;
- assert (ctrlr_max != 0);
+ assert(ctrlr_max != 0);
/* Assume opcode is always one byte and deduct it from the cmd_len
as the hardware has a separate register for the opcode. */