From: Wei Yongjun Date: Fri, 23 Aug 2013 02:50:36 +0000 (+0800) Subject: mtd: atmel_nand: fix error return code in atmel_nand_probe() X-Git-Tag: v3.12-rc1~82^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ff52c67a1048fef9b381b98e17fcaca01b076190;p=pandora-kernel.git mtd: atmel_nand: fix error return code in atmel_nand_probe() Fix to return a negative error code from the error handling case instead of 0, as done elsewhere in this function. Signed-off-by: Wei Yongjun Acked-by: Josh Wu Signed-off-by: Brian Norris Signed-off-by: David Woodhouse --- Reading git-diff-tree failed