diff options
author | Lothar Waßmann <LW@KARO-electronics.de> | 2014-06-12 09:20:41 -0400 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2014-07-28 01:06:30 -0400 |
commit | 6a7609662b469ac79c8c9e703620c2708a868297 (patch) | |
tree | b1d55a890b4c0e73563ebddbfc82d082927239a9 /drivers/mtd/nand | |
parent | e4e069347030ab0fea7304d06704fb3b64e5fe40 (diff) |
mtd: gpmi: remove useless (void *) type casts and spaces between type casts and variables
Signed-off-by: Lothar Waßmann <LW@KARO-electronics.de>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/nand')
-rw-r--r-- | drivers/mtd/nand/gpmi-nand/gpmi-nand.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c index f638cd8077ca..31032b17dae5 100644 --- a/drivers/mtd/nand/gpmi-nand/gpmi-nand.c +++ b/drivers/mtd/nand/gpmi-nand/gpmi-nand.c | |||
@@ -1180,7 +1180,7 @@ static int gpmi_ecc_write_page(struct mtd_info *mtd, struct nand_chip *chip, | |||
1180 | 1180 | ||
1181 | /* Handle block mark swapping. */ | 1181 | /* Handle block mark swapping. */ |
1182 | block_mark_swapping(this, | 1182 | block_mark_swapping(this, |
1183 | (void *) payload_virt, (void *) auxiliary_virt); | 1183 | (void *)payload_virt, (void *)auxiliary_virt); |
1184 | } else { | 1184 | } else { |
1185 | /* | 1185 | /* |
1186 | * If control arrives here, we're not doing block mark swapping, | 1186 | * If control arrives here, we're not doing block mark swapping, |
@@ -1760,16 +1760,16 @@ err_out: | |||
1760 | static const struct of_device_id gpmi_nand_id_table[] = { | 1760 | static const struct of_device_id gpmi_nand_id_table[] = { |
1761 | { | 1761 | { |
1762 | .compatible = "fsl,imx23-gpmi-nand", | 1762 | .compatible = "fsl,imx23-gpmi-nand", |
1763 | .data = (void *)&gpmi_devdata_imx23, | 1763 | .data = &gpmi_devdata_imx23, |
1764 | }, { | 1764 | }, { |
1765 | .compatible = "fsl,imx28-gpmi-nand", | 1765 | .compatible = "fsl,imx28-gpmi-nand", |
1766 | .data = (void *)&gpmi_devdata_imx28, | 1766 | .data = &gpmi_devdata_imx28, |
1767 | }, { | 1767 | }, { |
1768 | .compatible = "fsl,imx6q-gpmi-nand", | 1768 | .compatible = "fsl,imx6q-gpmi-nand", |
1769 | .data = (void *)&gpmi_devdata_imx6q, | 1769 | .data = &gpmi_devdata_imx6q, |
1770 | }, { | 1770 | }, { |
1771 | .compatible = "fsl,imx6sx-gpmi-nand", | 1771 | .compatible = "fsl,imx6sx-gpmi-nand", |
1772 | .data = (void *)&gpmi_devdata_imx6sx, | 1772 | .data = &gpmi_devdata_imx6sx, |
1773 | }, {} | 1773 | }, {} |
1774 | }; | 1774 | }; |
1775 | MODULE_DEVICE_TABLE(of, gpmi_nand_id_table); | 1775 | MODULE_DEVICE_TABLE(of, gpmi_nand_id_table); |