Thread (61 messages) 61 messages, 11 authors, 2d ago

Re: [PATCH 03/42] firmware: qcom: scm: Use devm_of_reserved_mem_device_init()

From: Konrad Dybcio <hidden>
Date: 2026-07-06 08:32:40
Also in: dri-devel, imx, linux-arm-msm, linux-aspeed, linux-devicetree, linux-media, linux-mediatek, linux-mips, linux-mmc, linux-remoteproc, linux-sound, linux-staging, linux-sunxi, linux-tegra, lkml, openbmc

On 7/3/26 9:38 PM, Mukesh Ojha wrote:
Switch from of_reserved_mem_device_init() to the new resource managed
devm_of_reserved_mem_device_init() so that the reserved memory region
is released automatically on probe failure or device unbind. This
eliminates the err_rmem cleanup label and the need to call
of_reserved_mem_device_release() explicitly on error paths.

Signed-off-by: Mukesh Ojha <redacted>
---
Thanks!

Reviewed-by: Konrad Dybcio <redacted>

Konrad
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help