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

From: Linus Walleij

Date: Fri Jul 10 2026 - 13:46:13 EST


On Fri, Jul 3, 2026 at 9:43 PM Mukesh Ojha <mukesh.ojha@xxxxxxxxxxxxxxxx> 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 <mukesh.ojha@xxxxxxxxxxxxxxxx>

Looks good to me:
Reviewed-by: Linus Walleij <linusw@xxxxxxxxxx>

Yours,
Linus Walleij