From: Brian Norris Date: Tue, 25 Sep 2012 03:40:49 +0000 (-0700) Subject: mtd: nand: split BB marker options decoding into its own function X-Git-Tag: v3.7-rc1~70^2~8 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7e74c2d7141e8929049233e28c74cd089f6ae962;p=pandora-kernel.git mtd: nand: split BB marker options decoding into its own function When detecting NAND parameters, the code gets a little ugly so that the logic is obscured. Try to remedy that by moving code to separate functions that have well-defined purposes. This patch splits the bad block marker options detection into its own function, away from the other parameters (e.g., chip size, page size, etc.). Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed