1
linux/drivers/firmware/arm_scmi/transports
Sudeep Holla ccf5021931 firmware: arm_scmi: Replace the use of of_node_put() to __free(device_node)
Use __free for device_node values, and thus drop calls to of_node_put.

The goal is simplify of_node reference cleanup by using this scope-based
of_node_put() cleanup to simplify function exit handling. When using __free
a resource is allocated within a block, it is automatically freed at the
end of the block.

This cleanup aligns well with the recent change in shmem.c to use __free
instead of explicit of_node_put() calls.

Message-Id: <20240827143838.1465913-3-sudeep.holla@arm.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
2024-08-28 17:16:25 +01:00
..
Kconfig firmware: arm_scmi: Make VirtIO transport a standalone driver 2024-08-16 10:26:58 +01:00
mailbox.c firmware: arm_scmi: Replace the use of of_node_put() to __free(device_node) 2024-08-28 17:16:25 +01:00
Makefile firmware: arm_scmi: Make VirtIO transport a standalone driver 2024-08-16 10:26:58 +01:00
optee.c firmware: arm_scmi: Remove const from transport descriptors 2024-08-18 20:22:16 +01:00
smc.c firmware: arm_scmi: Replace the use of of_node_put() to __free(device_node) 2024-08-28 17:16:25 +01:00
virtio.c firmware: arm_scmi: Remove const from transport descriptors 2024-08-18 20:22:16 +01:00