diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 14:16:32 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 19:51:03 +0000 |
commit | c9831087356b7ae02dfb22b3121117c48aa9e95b (patch) | |
tree | 03df9f13af654314ab102c3ee93efffbea15f969 /drivers/spi/spi-topcliff-pch.c | |
parent | 1527b09bc80018f02fe0b6d14e97c95f93596221 (diff) | |
download | linux-stable-c9831087356b7ae02dfb22b3121117c48aa9e95b.tar.gz linux-stable-c9831087356b7ae02dfb22b3121117c48aa9e95b.tar.bz2 linux-stable-c9831087356b7ae02dfb22b3121117c48aa9e95b.zip |
spi: spi-topcliff-pch: Fix checkpatch spacing error
Fix checkpatch error:
ERROR: space prohibited before that '++' (ctx:WxB)
#1204: FILE: spi-topcliff-pch.c:1204:
+ for (i = 0; i < cnt; i ++) {
^
Signed-off-by: Jay Fang <f.fangjian@huawei.com>
Link: https://lore.kernel.org/r/1616566602-13894-2-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-topcliff-pch.c')
-rw-r--r-- | drivers/spi/spi-topcliff-pch.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/spi/spi-topcliff-pch.c b/drivers/spi/spi-topcliff-pch.c index b459e369079f..b8870784fc6e 100644 --- a/drivers/spi/spi-topcliff-pch.c +++ b/drivers/spi/spi-topcliff-pch.c @@ -1201,7 +1201,8 @@ static void pch_spi_process_messages(struct work_struct *pwork) if (data->use_dma) { int i; char *save_rx_buf = data->cur_trans->rx_buf; - for (i = 0; i < cnt; i ++) { + + for (i = 0; i < cnt; i++) { pch_spi_handle_dma(data, &bpw); if (!pch_spi_start_transfer(data)) { data->transfer_complete = true; |