Skip to content

Commit 99b3a36

Browse files
Jay Fangbroonie
authored andcommitted
spi: spi-mtk-nor: Fix checkpatch spacing error
Fix checkpatch error: ERROR: space required before the open parenthesis '(' torvalds#295: FILE: spi-mtk-nor.c:295: + switch(op->data.dir) { Signed-off-by: Jay Fang <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent f2edb98 commit 99b3a36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-mtk-nor.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,7 +292,7 @@ static bool mtk_nor_supports_op(struct spi_mem *mem,
292292
return false;
293293

294294
if ((op->addr.nbytes == 3) || (op->addr.nbytes == 4)) {
295-
switch(op->data.dir) {
295+
switch (op->data.dir) {
296296
case SPI_MEM_DATA_IN:
297297
if (mtk_nor_match_read(op))
298298
return true;

0 commit comments

Comments
 (0)