aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAmadeusz Sławiński <[email protected]>2020-10-30 10:54:25 -0400
committerMark Brown <[email protected]>2020-11-04 17:51:07 +0000
commitff922622443767b27232eb01bae1d9a8d42df073 (patch)
tree5bd2e0e06b101bfe4a1c14d88a91d875d2e69251 /tools/perf/scripts/python
parente59db12b8df3ab07dcfe3540ecdf782d4272f263 (diff)
ASoC: topology: Change allocations to resource managed
In order for topology to be resource managed, change all allocations to be resource managed: k*alloc -> devm_k*alloc kstrdup -> devm_kstrdup Exceptions where non resource managed allocation is left is soc_tplg_dapm_widget_create(), as it uses pointer to memory locally and frees it up after use, as well as soc_tplg_dapm_graph_elems_load(), which has temporary pointer to table of routes. After conversion all redundant calls in error and clean up paths were removed. Also removed some variables which become unneeded when there is no calls using them. Reviewed-by: Guennadi Liakhovetski <[email protected]> Signed-off-by: Amadeusz Sławiński <[email protected]> Reviewed-by: Cezary Rojewski <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions