diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-25 15:31:44 +0200 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-07-31 09:46:10 +0200 |
commit | f57bbfb9e3f47b6d4eecb1d8037dab1cda9996a4 (patch) | |
tree | 65d0ca20e2b5525f1a3d86d4fe44f75effb5ffe6 /lib/debugobjects.c | |
parent | 66a38478dcc5b5a35e49055f2eb301f8ac594e3f (diff) |
mtd: rawnand: jz4740: fix probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup(), not a
nand_release() as mtd_device_register() (or one of its variants) has not
been called and there is no need to deregister any MTD device yet.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'lib/debugobjects.c')
0 files changed, 0 insertions, 0 deletions