From: Huang Shijie Date: Wed, 25 Sep 2013 06:58:17 +0000 (+0800) Subject: mtd: nand: add a helper to detect the nand type X-Git-Tag: v3.13-rc1~98^2~72 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=818b97392932ac4cecc36ab839957258367004a9;p=pandora-kernel.git mtd: nand: add a helper to detect the nand type This helper detects that whether the mtd's type is nand type. Now, it's clear that the MTD_NANDFLASH stands for SLC nand only. So use the mtd_type_is_nand() to replace the old check method to do the nand type (include the SLC and MLC) check. Signed-off-by: Huang Shijie Signed-off-by: Brian Norris --- Reading git-diff-tree failed