From: Florian Fainelli Date: Wed, 1 Sep 2010 20:28:59 +0000 (+0200) Subject: mtd: nand: split ONFI detection logic to its own function X-Git-Tag: v2.6.37-rc1~22^2~62 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fb277ba847f37489dc22adffed700e0c3ea3acf;p=pandora-kernel.git mtd: nand: split ONFI detection logic to its own function In order to reduce the indentation and improve the readability of nand_get_ flash_type, split the ONFI detection logic to its own function. The detection logic inside nand_flash_detect_onfi is also rewritten to allow for less indentation. Signed-off-by: Florian Fainelli Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed