[PATCH 10/42] drm: pl111: Use devm_of_reserved_mem_device_init()
Linus Walleij
linusw at kernel.org
Fri Jul 10 10:45:47 PDT 2026
On Fri, Jul 3, 2026 at 9:43 PM Mukesh Ojha <mukesh.ojha at oss.qualcomm.com> 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 at oss.qualcomm.com>
Looks good to me:
Reviewed-by: Linus Walleij <linusw at kernel.org>
Yours,
Linus Walleij
More information about the Linux-mediatek
mailing list