mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-09 23:39:18 +00:00
spi: spi-mtk-nor: Fix checkpatch spacing error
Fix checkpatch error: ERROR: space required before the open parenthesis '(' #295: FILE: spi-mtk-nor.c:295: + switch(op->data.dir) { Signed-off-by: Jay Fang <f.fangjian@huawei.com> Link: https://lore.kernel.org/r/1616566602-13894-6-git-send-email-f.fangjian@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f2edb98e80
commit
99b3a36204
@ -292,7 +292,7 @@ static bool mtk_nor_supports_op(struct spi_mem *mem,
|
||||
return false;
|
||||
|
||||
if ((op->addr.nbytes == 3) || (op->addr.nbytes == 4)) {
|
||||
switch(op->data.dir) {
|
||||
switch (op->data.dir) {
|
||||
case SPI_MEM_DATA_IN:
|
||||
if (mtk_nor_match_read(op))
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user