diff options
author | Michal Wilczynski <[email protected]> | 2023-10-17 11:29:05 +0300 |
---|---|---|
committer | Ira Weiny <[email protected]> | 2024-01-01 19:05:39 -0800 |
commit | f7e2910fcec1fb2f78888e33ee994653fc29fb15 (patch) | |
tree | 9e6c72a4e1f9e9d7a1de69fbf7b8a77820dfa4f9 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 610a9b8f49fbcf1100716370d3b5f6f884a2835a (diff) |
ACPI: NFIT: Use cleanup.h helpers instead of devm_*()
The new cleanup.h facilities that arrived in v6.5-rc1 can replace the
the usage of devm semantics in acpi_nfit_init_interleave_set(). That
routine appears to only be using devm to avoid goto statements. The
new __free() annotation at variable declaration time can achieve the same
effect more efficiently.
There is no end user visible side effects of this patch, I was
motivated to send this cleanup to practice using the new helpers.
Suggested-by: Dave Jiang <[email protected]>
Suggested-by: Andy Shevchenko <[email protected]>
Reviewed-by: Dave Jiang <[email protected]>
Reviewed-by: Andy Shevchenko <[email protected]>
Reviewed-by: Dan Williams <[email protected]>
Signed-off-by: Michal Wilczynski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ira Weiny <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions