summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorChristophe JAILLET2017-12-14 07:03:50 +0100
committerBoris Brezillon2017-12-18 17:37:51 +0100
commitad99be47726ccb0bcbc4b0fac12c20cba78e4c0d (patch)
treec7702ac15f9a7c5b10152e2b3763b54326417f80 /kernel
parentmtd: onenand: samsung: use devm_ function to simplify code and fix some leaks (diff)
downloadkernel-qcow2-linux-ad99be47726ccb0bcbc4b0fac12c20cba78e4c0d.tar.gz
kernel-qcow2-linux-ad99be47726ccb0bcbc4b0fac12c20cba78e4c0d.tar.xz
kernel-qcow2-linux-ad99be47726ccb0bcbc4b0fac12c20cba78e4c0d.zip
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>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions