summaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-01-08 17:23:25 +0800
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-02-01 18:58:38 +0100
commit106a3ec368fd5c34d5138e645f163249612d335d (patch)
treea550521083d493def8b9f26af5a704201b38a194 /drivers/mtd
parent2e64e0ba2b657ca5c0eece887aeb73cff660f92c (diff)
downloadlinux-106a3ec368fd5c34d5138e645f163249612d335d.tar.bz2
mtd: st_spi_fsm: convert comma to semicolon
Replace a comma between expression statements by a semicolon. Signed-off-by: Zheng Yongjun <zhengyongjun3@huawei.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20210108092325.19037-1-zhengyongjun3@huawei.com
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/devices/st_spi_fsm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/devices/st_spi_fsm.c b/drivers/mtd/devices/st_spi_fsm.c
index 1888523d9745..983999c020d6 100644
--- a/drivers/mtd/devices/st_spi_fsm.c
+++ b/drivers/mtd/devices/st_spi_fsm.c
@@ -924,7 +924,7 @@ static int stfsm_read_status(struct stfsm *fsm, uint8_t cmd,
BUG_ON(bytes != 1 && bytes != 2);
seq->seq_opc[0] = (SEQ_OPC_PADS_1 | SEQ_OPC_CYCLES(8) |
- SEQ_OPC_OPCODE(cmd)),
+ SEQ_OPC_OPCODE(cmd));
stfsm_load_seq(fsm, seq);