Christophe JAILLET ad99be4772 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>
2017-12-18 17:37:51 +01:00
..
2017-11-15 13:46:33 -08:00
2017-11-13 21:39:15 +01:00
2017-04-20 12:09:55 -06:00
2014-03-10 22:42:25 -07:00