From: vimal singh Date: Thu, 30 Jul 2009 15:24:27 +0000 (+0530) Subject: mtd: physmap_of: fix incorrect check X-Git-Tag: v2.6.32-rc1~160^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad4fbc7921bd7cca108ecc1340a014e91ecc8536;p=pandora-kernel.git mtd: physmap_of: fix incorrect check This patch fixes a spelling error that has resulted from copy and pasting. The location of the error was found using a semantic patch but the semantic patch was not trying to find these errors. After looking things over it seemed logical that this change was needed. The patch also makes sure mtd_list is not being freed if it has not been allocated Signed-off-by: Stoyan Gaydarov Signed-off-by: Vimal Singh Signed-off-by: Artem Bityutskiy Signed-off-by: David Woodhouse --- Reading git-diff-tree failed