diff options
| author | Miquel Raynal <[email protected]> | 2018-02-25 23:09:14 +0100 |
|---|---|---|
| committer | Miquel Raynal <[email protected]> | 2018-07-18 09:24:15 +0200 |
| commit | 8604e6346e8db6dece741881d647606511ddafde (patch) | |
| tree | b73c86e0092ef1122d5e1c60b85c517f156d900a /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 1dfac31a5a63ac04a9b5fbc3f5105a586560f191 (diff) | |
mtd: rawnand: docg4: fix the probe function error path
nand_release() should not be called on an MTD device that has not been
registered. While it should work thanks to the checks done in
mtd_device_unregister() it's a bad practice to cleanup/release
something that has not previously been initialized/allocated.
Rework the error path to follow this rule.
Signed-off-by: Miquel Raynal <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions