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>
This commit is contained in:
Родитель
1527b09bc8
Коммит
c983108735
|
@ -1201,7 +1201,8 @@ static void pch_spi_process_messages(struct work_struct *pwork)
|
||||||
if (data->use_dma) {
|
if (data->use_dma) {
|
||||||
int i;
|
int i;
|
||||||
char *save_rx_buf = data->cur_trans->rx_buf;
|
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);
|
pch_spi_handle_dma(data, &bpw);
|
||||||
if (!pch_spi_start_transfer(data)) {
|
if (!pch_spi_start_transfer(data)) {
|
||||||
data->transfer_complete = true;
|
data->transfer_complete = true;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче