diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 07:16:38 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 20:51:08 +0100 |
commit | f96c19fab393db16a2db78183ca8f584ee1b716a (patch) | |
tree | fdbc5324bb042db2cd00bac6fa0ddbb436113287 /drivers/spi/spi-bitbang.c | |
parent | spi: dln2: Fix open brace following function definitions go on the next line (diff) | |
download | linux-f96c19fab393db16a2db78183ca8f584ee1b716a.tar.xz linux-f96c19fab393db16a2db78183ca8f584ee1b716a.zip |
spi: spi-bitbang: Fix open brace following function definitions go on the next line
Fix checkpatch errors:
ERROR: open brace '{' following function definitions go on the next line
#54: FILE: spi-bitbang.c:54:
ERROR: open brace '{' following function definitions go on the next line
#82: FILE: spi-bitbang.c:82:
ERROR: open brace '{' following function definitions go on the next line
#110: FILE: spi-bitbang.c:110:
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1616566602-13894-8-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to '')
-rw-r--r-- | drivers/spi/spi-bitbang.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/drivers/spi/spi-bitbang.c b/drivers/spi/spi-bitbang.c index 1a7352abd878..6a6af85aebfd 100644 --- a/drivers/spi/spi-bitbang.c +++ b/drivers/spi/spi-bitbang.c @@ -60,7 +60,8 @@ static unsigned bitbang_txrx_8( unsigned ns, struct spi_transfer *t, unsigned flags -) { +) +{ unsigned bits = t->bits_per_word; unsigned count = t->len; const u8 *tx = t->tx_buf; @@ -88,7 +89,8 @@ static unsigned bitbang_txrx_16( unsigned ns, struct spi_transfer *t, unsigned flags -) { +) +{ unsigned bits = t->bits_per_word; unsigned count = t->len; const u16 *tx = t->tx_buf; @@ -116,7 +118,8 @@ static unsigned bitbang_txrx_32( unsigned ns, struct spi_transfer *t, unsigned flags -) { +) +{ unsigned bits = t->bits_per_word; unsigned count = t->len; const u32 *tx = t->tx_buf; |