summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorColin Ian King <colin.i.king@gmail.com>2024-10-30 17:21:49 +0000
committerMiquel Raynal <miquel.raynal@bootlin.com>2024-12-05 11:09:53 +0100
commit78a56df609460e8e708cb4500d624dc8a3732cfa (patch)
tree95f95f4c889f464173c874877eb196e6cad596e7 /tools/perf/scripts/python/task-analyzer.py
parent40384c840ea1944d7c5a392e8975ed088ecf0b37 (diff)
mtd: phram: only call platform_driver_unregister if phram_setup fails
The check on ret and call to platform_driver_unregister is only required in the code path where MODULE is not defined. Fix this by moving this code into the relevant place after the call to phram_setup. Signed-off-by: Colin Ian King <colin.i.king@gmail.com> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions