aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-bridge.c
diff options
context:
space:
mode:
authorConor Dooley <[email protected]>2024-04-10 12:58:08 +0100
committerConor Dooley <[email protected]>2024-06-05 19:36:17 +0100
commitd930eb4fdfee32e0a3e9a5c9c2af8d65857ac4de (patch)
tree68738b254b78e08a35e942496ad0c12ab7f927ac /drivers/fpga/fpga-bridge.c
parente277026b5e2dc30323115ffca0916f1b7d217906 (diff)
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 <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-bridge.c')
0 files changed, 0 insertions, 0 deletions