diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 14:16:37 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 19:51:08 +0000 |
commit | 211f8a0a39cd7dcd9c14744053ea681a0e7eb36d (patch) | |
tree | 548f4bb127a44489cab51b5b6c731df8006f5c42 | |
parent | 99b3a36204564cb689cd862794043e1b8f5863b1 (diff) | |
download | linux-211f8a0a39cd7dcd9c14744053ea681a0e7eb36d.tar.bz2 |
spi: dln2: Fix open brace following function definitions go on the next line
Fix checkpatch error:
ERROR: open brace '{' following function definitions go on the next line
#545: FILE: spi-dln2.c:545:
+static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data,
+ u8 *rx_data, u16 data_len, u8 attr) {
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1616566602-13894-7-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
-rw-r--r-- | drivers/spi/spi-dln2.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-dln2.c b/drivers/spi/spi-dln2.c index 75b33d7d14b0..3902eadb892f 100644 --- a/drivers/spi/spi-dln2.c +++ b/drivers/spi/spi-dln2.c @@ -543,7 +543,8 @@ static int dln2_spi_read_write_one(struct dln2_spi *dln2, const u8 *tx_data, * single ones due to device buffer constraints. */ static int dln2_spi_rdwr(struct dln2_spi *dln2, const u8 *tx_data, - u8 *rx_data, u16 data_len, u8 attr) { + u8 *rx_data, u16 data_len, u8 attr) +{ int ret; u16 len; u8 temp_attr; |