From: Huang Shijie Date: Fri, 3 Jan 2014 03:01:41 +0000 (+0800) Subject: mtd: gpmi: do not use the mtd->writesize X-Git-Tag: v3.15-rc1~65^2~67 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a57d670a9edb56d7cbc8d9075c7b242e0670ecf;p=pandora-kernel.git mtd: gpmi: do not use the mtd->writesize The nfc_geo->payload_size is equal to the mtd->writesize now, use the nfc_geo->payload_size to replace the mtd->writesize. This patch makes preparation for the gpmi's subpage read support. In the subpage support, the nfc_geo->payload_size maybe smaller then the mtd->writesize. Signed-off-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed