mtd: nandsim: use NS_RAW_OFFSET()
authorAkinobu Mita <akinobu.mita@gmail.com>
Sun, 28 Jul 2013 02:21:56 +0000 (11:21 +0900)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 5 Aug 2013 20:05:43 +0000 (21:05 +0100)
commit6d07fcf7e0e5da20120af247804f2cc9d2af82ac
tree199b8a3084a043e35ee4e3fe92819e62c069d939
parent3b8b8fa1ede2ea9f52a550fdddf2dda53ce52fc8
mtd: nandsim: use NS_RAW_OFFSET()

Use NS_RAW_OFFSET() to calculate the page offset in flash RAM image by
(row, column) address.

Signed-off-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
drivers/mtd/nand/nandsim.c