summaryrefslogtreecommitdiff
path: root/drivers/mtd
diff options
context:
space:
mode:
authorZheng Yongjun <zhengyongjun3@huawei.com>2021-01-08 12:23:00 +0300
committerMiquel Raynal <miquel.raynal@bootlin.com>2021-02-01 20:58:38 +0300
commit2e64e0ba2b657ca5c0eece887aeb73cff660f92c (patch)
treecf051391e8fe97c4bfcebc2aebf0a89010ddbbb3 /drivers/mtd
parent7b844cf445f0a7daa68be0ce71eb2c88d68b0c5d (diff)
downloadlinux-2e64e0ba2b657ca5c0eece887aeb73cff660f92c.tar.xz
mtd: 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/20210108092300.18909-1-zhengyongjun3@huawei.com
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/maps/pci.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mtd/maps/pci.c b/drivers/mtd/maps/pci.c
index 377ef0fc4e3e..ca00d211e73e 100644
--- a/drivers/mtd/maps/pci.c
+++ b/drivers/mtd/maps/pci.c
@@ -90,8 +90,8 @@ intel_iq80310_init(struct pci_dev *dev, struct map_pci_info *map)
u32 win_base;
map->map.bankwidth = 1;
- map->map.read = mtd_pci_read8,
- map->map.write = mtd_pci_write8,
+ map->map.read = mtd_pci_read8;
+ map->map.write = mtd_pci_write8;
map->map.size = 0x00800000;
map->base = ioremap(pci_resource_start(dev, 0),
@@ -185,8 +185,8 @@ intel_dc21285_init(struct pci_dev *dev, struct map_pci_info *map)
return -ENXIO;
map->map.bankwidth = 4;
- map->map.read = mtd_pci_read32,
- map->map.write = mtd_pci_write32,
+ map->map.read = mtd_pci_read32;
+ map->map.write = mtd_pci_write32;
map->map.size = len;
map->base = ioremap(base, len);