commit | ad99be47726ccb0bcbc4b0fac12c20cba78e4c0d | [log] [tgz] |
---|---|---|
author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | Thu Dec 14 07:03:50 2017 +0100 |
committer | Boris Brezillon <boris.brezillon@free-electrons.com> | Mon Dec 18 17:37:51 2017 +0100 |
tree | c7702ac15f9a7c5b10152e2b3763b54326417f80 | |
parent | 8b5c51a45c39c6d4f05c6f87d05f54b6c28f7c36 [diff] |
mtd: onenand: samsung: return an error if 'mtd_device_parse_register()' fails If 'mtd_device_parse_register()' fails, we still return 0 which mean success. Return the error code instead, as done in all the other error handling paths. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>