Re: [PATCH] clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()

From: Abel Vesa
Date: Mon Jun 12 2023 - 05:49:53 EST



On Wed, 03 May 2023 07:06:07 +0000, Yuxing Liu wrote:
> Replace of_iomap() and kzalloc() with devm_of_iomap() and devm_kzalloc()
> which can automatically release the related memory when the device
> or driver is removed or unloaded to avoid potential memory leak.
>
> In this case, iounmap(anatop_base) in line 427,433 are removed
> as manual release is not required.
>
> [...]

Applied, thanks!

[1/1] clk: imx: clk-imx8mp: improve error handling in imx8mp_clocks_probe()
commit: 878b02d5f3b56cb090dbe2c70c89273be144087f

Best regards,
--
Abel Vesa <abel.vesa@xxxxxxxxxx>