linux/drivers/mtd/onenand
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
..
Kconfig mtd: onenand: Remove obsolete url from Kconfig help 2017-12-14 13:34:20 +01:00
Makefile License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
generic.c mtd: onenand: generic: show parent device in sysfs 2015-10-13 12:56:37 -07:00
omap2.c gpio: Include linux/gpio.h instead of asm/gpio.h 2016-02-16 00:20:03 +01:00
onenand_base.c mtd: silence some uninitialized variable warnings 2016-07-09 18:14:39 -07:00
onenand_bbt.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
samsung.c mtd: onenand: samsung: return an error if 'mtd_device_parse_register()' fails 2017-12-18 17:37:51 +01:00
samsung.h mtd: onenand: Trivial cleanup in samsung.h 2014-01-11 12:00:25 -08:00