linux/drivers/firmware/microchip
Conor Dooley d930eb4fdf 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>
History 2024-06-05 19:36:17 +01:00
..
Kconfig firmware: microchip: add PolarFire SoC Auto Update support 2023-12-06 12:11:45 +00:00
Makefile firmware: microchip: add PolarFire SoC Auto Update support 2023-12-06 12:11:45 +00:00
mpfs-auto-update.c firmware: microchip: use scope-based cleanup where possible 2024-06-05 19:36:17 +01:00