mtd: sh_flctl: Use memcpy() instead of using a loop
authorBastian Hecht <hechtb@googlemail.com>
Thu, 5 Jul 2012 10:41:01 +0000 (12:41 +0200)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Sat, 29 Sep 2012 13:48:58 +0000 (14:48 +0100)
commitd76236f30f1280f9345bb266a161e3ba60518c83
treeacbddcba96a1117c93e13109bd4fdff2a15f2b20
parent2361f738b67ab7f1152187fa3d321a09b7c95c09
mtd: sh_flctl: Use memcpy() instead of using a loop

Elements have been copied "manually" in a loop. Better use memcpy().

Signed-off-by: Bastian Hecht <hechtb@gmail.com>
Reviewed-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/sh_flctl.c