[PATCH v2 linux-next] nvmem: meson-efuse: Replacing the use of of_node_put to __free
Srinivas Kandagatla
srinivas.kandagatla at linaro.org
Tue Jun 11 02:30:03 PDT 2024
On Wed, 15 May 2024 23:28:38 -0300, MarileneGarcia wrote:
> Use __free for device_node values, and thus drop calls to
> of_node_put.
>
> The goal is to reduce memory management issues 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.
>
> [...]
Applied, thanks!
[1/1] nvmem: meson-efuse: Replacing the use of of_node_put to __free
commit: 5e15aa6f07b35fb3d755f7cdffb8acbca62abe74
Best regards,
--
Srinivas Kandagatla <srinivas.kandagatla at linaro.org>
More information about the linux-amlogic
mailing list