diff options
author | Miquel Raynal <miquel.raynal@bootlin.com> | 2018-04-21 21:00:39 +0300 |
---|---|---|
committer | Boris Brezillon <boris.brezillon@bootlin.com> | 2018-04-29 09:56:44 +0300 |
commit | 6f533c463105472b71587b9bf8532f34f9d60deb (patch) | |
tree | 1be0d443ee7197a438956b8897769f09bbbe3a52 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 9326dc754c64996ccdc354413674f42486590574 (diff) | |
download | linux-6f533c463105472b71587b9bf8532f34f9d60deb.tar.xz |
mtd: rawnand: hisi504: fix the probe function error path
An error after nand_scan_tail() should trigger a nand_cleanup() and not
a nand_release(). The latter doing an mtd_device_unregister() which is
not needed if mtd_device_register() failed.
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Signed-off-by: Boris Brezillon <boris.brezillon@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions