projects
/
linux-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7b844cf
)
mtd: convert comma to semicolon
author
Zheng Yongjun
<zhengyongjun3@huawei.com>
Fri, 8 Jan 2021 09:23:00 +0000
(17:23 +0800)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Mon, 1 Feb 2021 17:58:38 +0000
(18:58 +0100)
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
drivers/mtd/maps/pci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mtd/maps/pci.c
b/drivers/mtd/maps/pci.c
index 377ef0fc4e3efd9e5a45f4e5ee4a7d1c2f42fc93..ca00d211e73e4752266c9c1120fdf2e4ff0fc636 100644
(file)
--- 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);