[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Z3vBY7FtglzoRtjJ@8bytes.org>
Date: Mon, 6 Jan 2025 12:41:23 +0100
From: Joerg Roedel <joro@...tes.org>
To: Zhang Heng <zhangheng@...inos.cn>
Cc: robdclark@...il.com, will@...nel.org, robin.murphy@....com,
iommu@...ts.linux.dev, linux-arm-msm@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iommu/msm: Use helper function devm_clk_get_prepared()
On Fri, Jan 03, 2025 at 07:30:59PM +0800, Zhang Heng wrote:
> Since commit 7ef9651e9792 ("clk: Provide new devm_clk helpers for prepared
> and enabled clocks"), devm_clk_get() and clk_prepare() can now be replaced
> by devm_clk_get_prepared() when driver prepares the clocks for the whole
> lifetime of the device. Moreover, it is no longer necessary to unprepare
> the clocks explicitly.
>
> Signed-off-by: Zhang Heng <zhangheng@...inos.cn>
> ---
> drivers/iommu/msm_iommu.c | 51 +++++++++------------------------------
> 1 file changed, 11 insertions(+), 40 deletions(-)
Applied, thanks.
Powered by blists - more mailing lists