mtd: atmel_nand: replace memcpy32_toio/memcpy32_fromio with memcpy
authorWu, Josh <Josh.wu@atmel.com>
Fri, 7 Nov 2014 07:26:09 +0000 (15:26 +0800)
committerBrian Norris <computersforpeace@gmail.com>
Wed, 26 Nov 2014 07:22:28 +0000 (23:22 -0800)
There is no need to use memcpy32_toio/memcpy32_fromio to transfer data
between memory and NFC sram. As the NFC sram is a also a memory space
not an I/O space, we can just use memcpy().

We remove the __iomem prefix for NFC sram to avoid sparse warnings.

Signed-off-by: Josh Wu <josh.wu@atmel.com>
Reviewed-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Brian Norris <computersforpeace@gmail.com>

No differences found