diff options
author | Jack Rosenthal <jrosenth@chromium.org> | 2022-06-27 14:17:43 -0600 |
---|---|---|
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | 2022-06-30 23:08:40 +0000 |
commit | 0d8dc051b49bb6e965537e594ffd7d0939c6137e (patch) | |
tree | 8d5f2906509beb69de52f35ed7bf32e4a1805a60 /chip | |
parent | e5e5cb167a1783748bb28c9d385fe2c1cedb867e (diff) | |
download | chrome-ec-0d8dc051b49bb6e965537e594ffd7d0939c6137e.tar.gz |
chip/it83xx/spi_controller.c: Format with clang-format
BUG=b:236386294
BRANCH=none
TEST=none
Change-Id: Ibe7bff3eac1797c8740655d36a64364ff04dc021
Signed-off-by: Jack Rosenthal <jrosenth@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/ec/+/3729206
Reviewed-by: Jeremy Bettis <jbettis@chromium.org>
Diffstat (limited to 'chip')
-rw-r--r-- | chip/it83xx/spi_controller.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chip/it83xx/spi_controller.c b/chip/it83xx/spi_controller.c index d3898deef6..73fa2777e1 100644 --- a/chip/it83xx/spi_controller.c +++ b/chip/it83xx/spi_controller.c @@ -17,7 +17,7 @@ /* Console output macros */ #define CPUTS(outstr) cputs(CC_SPI, outstr) -#define CPRINTS(format, args...) cprints(CC_SPI, format, ## args) +#define CPRINTS(format, args...) cprints(CC_SPI, format, ##args) enum sspi_clk_sel { sspi_clk_24mhz = 0, @@ -106,8 +106,8 @@ int spi_enable(const struct spi_device_t *spi_device, int enable) } int spi_transaction(const struct spi_device_t *spi_device, - const uint8_t *txdata, int txlen, - uint8_t *rxdata, int rxlen) + const uint8_t *txdata, int txlen, uint8_t *rxdata, + int rxlen) { int idx; uint8_t port = spi_device->port; |