Commit 14f80ce1 authored by Felipe Balbi's avatar Felipe Balbi Committed by Kevin Hilman

mtd: nand: davinci: don't cast unnecessarily

nand_vaddr was already ioremaped, so it's already
a void __iomem pointer. Do not cast it uselessly.
Signed-off-by: default avatarFelipe Balbi <felipe.balbi@nokia.com>
parent 3ba8d416
...@@ -532,8 +532,8 @@ int __devinit nand_davinci_probe(struct platform_device *pdev) ...@@ -532,8 +532,8 @@ int __devinit nand_davinci_probe(struct platform_device *pdev)
return -ENOMEM; return -ENOMEM;
} }
chip->IO_ADDR_R = (void __iomem *)nand_vaddr; chip->IO_ADDR_R = nand_vaddr;
chip->IO_ADDR_W = (void __iomem *)nand_vaddr; chip->IO_ADDR_W = nand_vaddr;
chip->chip_delay = 0; chip->chip_delay = 0;
chip->select_chip = nand_davinci_select_chip; chip->select_chip = nand_davinci_select_chip;
chip->options = 0; chip->options = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment