From: Ezequiel Garcia Date: Wed, 14 May 2014 17:58:07 +0000 (-0300) Subject: mtd: nand: pxa3xx: Clean pxa_ecc_init() error handling X-Git-Tag: omap-for-v3.16/fixes-against-rc1~57^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eee0166d8ead9d719d794df3e66acd8f83630e05;p=pandora-kernel.git mtd: nand: pxa3xx: Clean pxa_ecc_init() error handling Let's make pxa_ecc_init() return a negative errno on error or zero if succesful, which is standard kernel practice. Also, report the selected ECC strength and step size, which is important information. Signed-off-by: Ezequiel Garcia Signed-off-by: Brian Norris --- Reading git-diff-tree failed