[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CAFBinCAPY3s4w5MPvyP9Y8Ov_eKVWoMu8fJwvmbn6r_+Qg8iLQ@mail.gmail.com>
Date: Tue, 3 Jan 2023 22:26:57 +0100
From: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: Wim Van Sebroeck <wim@...ux-watchdog.org>,
Guenter Roeck <linux@...ck-us.net>,
Neil Armstrong <neil.armstrong@...aro.org>,
Kevin Hilman <khilman@...libre.com>,
Jerome Brunet <jbrunet@...libre.com>,
linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-watchdog@...r.kernel.org,
linux-arm-kernel@...ts.infradead.org,
linux-amlogic@...ts.infradead.org
Subject: Re: [PATCH] watchdog: meson_gxbb: Use devm_clk_get_enabled() helper
On Sat, Dec 31, 2022 at 1:34 PM Christophe JAILLET
<christophe.jaillet@...adoo.fr> wrote:
>
> The devm_clk_get_enabled() helper:
> - calls devm_clk_get()
> - calls clk_prepare_enable() and registers what is needed in order to
> call clk_disable_unprepare() when needed, as a managed resource.
>
> This simplifies the code and avoids the need of a dedicated function used
> with devm_add_action_or_reset().
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Thank you for this patch! It's:
Reviewed-by: Martin Blumenstingl <martin.blumenstingl@...glemail.com>
Powered by blists - more mailing lists