commit | ff52c67a1048fef9b381b98e17fcaca01b076190 | [log] [tgz] |
---|---|---|
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | Fri Aug 23 10:50:36 2013 +0800 |
committer | David Woodhouse <David.Woodhouse@intel.com> | Fri Aug 30 21:52:44 2013 +0100 |
tree | 0c049fc9b4995759365694b368dc0f46a44b5833 | |
parent | 13134f48c8a7a9daaef74118d19f2d2ef29cd33a [diff] |
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 <yongjun_wei@trendmicro.com.cn> Acked-by: Josh Wu <josh.wu@atmel.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>