From: Brian Norris Date: Tue, 25 Sep 2012 03:40:50 +0000 (-0700) Subject: mtd: nand: split extended ID decoding into its own function X-Git-Tag: v3.7-rc1~70^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fc09bbc04ccd7f069c1928a0156968b888393833;p=pandora-kernel.git mtd: nand: split extended ID 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 out the extended ID decode functionality, which handles decoding the 3rd-8th ID bytes to determine NAND device parameters. Signed-off-by: Brian Norris Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed