From: Akinobu Mita Date: Sun, 28 Jul 2013 02:21:55 +0000 (+0900) Subject: mtd: nandsim: simplify NS_RAW_OFFSET() X-Git-Tag: v3.12-rc1~82^2~93 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3b8b8fa1ede2ea9f52a550fdddf2dda53ce52fc8;p=pandora-kernel.git mtd: nandsim: simplify NS_RAW_OFFSET() Simplify the definision of NS_RAW_OFFSET() by using (ns)->geom.pgszoob which holds the sum of page size and OOB size. Signed-off-by: Akinobu Mita Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed