Thread (66 messages) 66 messages, 15 authors, 22h ago

Re: [PATCH 10/42] drm: pl111: Use devm_of_reserved_mem_device_init()

From: Linus Walleij <linusw@kernel.org>
Date: 2026-07-10 17:46:04
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 Fri, Jul 3, 2026 at 9:43 PM Mukesh Ojha [off-list ref] wrote:
Switch to devm_of_reserved_mem_device_init() so the reserved memory
region is released automatically on probe failure or device removal.
Remove the explicit of_reserved_mem_device_release() calls in the
dev_put error path and pl111_amba_remove().

Signed-off-by: Mukesh Ojha <redacted>
Looks good to me:
Reviewed-by: Linus Walleij <linusw@kernel.org>

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