aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2017-12-14 07:03:49 +0100
committerBoris Brezillon <[email protected]>2017-12-18 17:37:39 +0100
commit8b5c51a45c39c6d4f05c6f87d05f54b6c28f7c36 (patch)
tree6efc5f07c41a68a1708eb1c2824b9716ae91315c /tools/perf/scripts/python/bin/stackcollapse-record
parent8878b126df769831cb2fa4088c3806538e8305f5 (diff)
mtd: onenand: samsung: use devm_ function to simplify code and fix some leaks
Convert all error handling code in 's3c_onenand_probe()' to resource-managed alternatives in order to simplify code. This fixes a resource leak if 'platform_get_resource()' fails at line 872. The 'request_irq()' at line 971 was also un-balanced. It is now resource-managed. Signed-off-by: Christophe JAILLET <[email protected]> Signed-off-by: Boris Brezillon <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions