projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f2edb98
)
spi: spi-mtk-nor: Fix checkpatch spacing error
author
Jay Fang
<f.fangjian@huawei.com>
Wed, 24 Mar 2021 06:16:36 +0000
(14:16 +0800)
committer
Mark Brown
<broonie@kernel.org>
Wed, 24 Mar 2021 19:51:07 +0000
(19:51 +0000)
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>
drivers/spi/spi-mtk-nor.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-mtk-nor.c
b/drivers/spi/spi-mtk-nor.c
index
2e2f36a
..
41e7b34
100644
(file)
--- 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;