diff options
author | Jay Fang <f.fangjian@huawei.com> | 2021-03-24 14:16:36 +0800 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-03-24 19:51:07 +0000 |
commit | 99b3a36204564cb689cd862794043e1b8f5863b1 (patch) | |
tree | dd251f5d7b0e592715b40eac8c390a5c8ee0c567 /drivers/spi/spi-mtk-nor.c | |
parent | f2edb98e806d0bf7947e5da352d69f4fbb063b04 (diff) | |
download | lwn-99b3a36204564cb689cd862794043e1b8f5863b1.tar.gz lwn-99b3a36204564cb689cd862794043e1b8f5863b1.zip |
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>
Diffstat (limited to 'drivers/spi/spi-mtk-nor.c')
-rw-r--r-- | drivers/spi/spi-mtk-nor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-mtk-nor.c b/drivers/spi/spi-mtk-nor.c index 2e2f36a2e385..41e7b341d261 100644 --- a/drivers/spi/spi-mtk-nor.c +++ b/drivers/spi/spi-mtk-nor.c @@ -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; |