diff options
author | 2018-04-21 20:00:43 +0200 | |
---|---|---|
committer | 2018-04-29 08:56:46 +0200 | |
commit | 553b0c6416e4426d0c8e552ff809c0a590dc3989 (patch) | |
tree | 0bfb15b3beac28db5b46461f3a5b89db8aaeeaa4 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: lpc32xx_slc: clean the probe function (diff) | |
download | wireguard-linux-553b0c6416e4426d0c8e552ff809c0a590dc3989.tar.xz wireguard-linux-553b0c6416e4426d0c8e552ff809c0a590dc3989.zip |
mtd: rawnand: lpc32xx_slc: 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