diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-03-21 14:01:42 +0100 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-03-29 09:38:18 +0200 |
commit | 5826b8802a970d2b0aaf097951de42040ee32480 (patch) | |
tree | 1e72dca6c76548a953d1c253e92d5e4b031835cf /drivers/power | |
parent | 15d6f118285f2ffc73fc8de75ecf7c36c3c6fe18 (diff) |
mtd: rawnand: brcmnand: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup().
The helper mtd_device_register() returns an error code that should
be checked and nand_cleanup() called accordingly.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'drivers/power')
0 files changed, 0 insertions, 0 deletions