diff options
author | Conor Dooley <conor.dooley@microchip.com> | 2024-04-10 14:58:08 +0300 |
---|---|---|
committer | Conor Dooley <conor.dooley@microchip.com> | 2024-06-05 21:36:17 +0300 |
commit | d930eb4fdfee32e0a3e9a5c9c2af8d65857ac4de (patch) | |
tree | 68738b254b78e08a35e942496ad0c12ab7f927ac /tools/perf/scripts/python | |
parent | e277026b5e2dc30323115ffca0916f1b7d217906 (diff) | |
download | linux-d930eb4fdfee32e0a3e9a5c9c2af8d65857ac4de.tar.xz |
firmware: microchip: use scope-based cleanup where possible
There's a bunch of structs created and freed every time the mailbox is
used. Move them to use the scope-based cleanup infrastructure to avoid
manually tearing them down. mpfs_auto_update_available() didn't free the
memory that it used (albeit it allocated exactly once during probe) so
that gets moved over too.
Signed-off-by: Conor Dooley <conor.dooley@microchip.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions