[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <c63ac4eb-14eb-40de-84f8-09768d6293b3@linaro.org>
Date: Mon, 2 Sep 2024 13:14:55 +0200
From: Daniel Lezcano <daniel.lezcano@...aro.org>
To: Huan Yang <link@...o.com>, "Rafael J. Wysocki" <rafael@...nel.org>,
Zhang Rui <rui.zhang@...el.com>, Lukasz Luba <lukasz.luba@....com>,
Orson Zhai <orsonzhai@...il.com>, Baolin Wang
<baolin.wang@...ux.alibaba.com>, Chunyan Zhang <zhang.lyra@...il.com>,
linux-pm@...r.kernel.org, linux-kernel@...r.kernel.org
Cc: opensource.kernel@...o.com
Subject: Re: [PATCH] thermal: sprd: Use devm_clk_get_enabled() helpers
On 20/08/2024 11:44, Huan Yang wrote:
> The devm_clk_get_enabled() helpers:
> - call devm_clk_get()
> - call clk_prepare_enable() and register what is needed in order to
> call clk_disable_unprepare() when needed, as a managed resource.
>
> This simplifies the code and avoids the calls to clk_disable_unprepare().
>
> Signed-off-by: Huan Yang <link@...o.com>
> ---
Applied, thanks
--
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs
Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog
Powered by blists - more mailing lists