[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <166128682527.2843313.7668943064097862489.b4-ty@bootlin.com>
Date: Tue, 23 Aug 2022 22:34:17 +0200
From: Alexandre Belloni <alexandre.belloni@...tlin.com>
To: a.zummo@...ertech.it, christophe.jaillet@...adoo.fr
Cc: kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org,
linux-rtc@...r.kernel.org
Subject: Re: [PATCH] rtc: mxc: Use devm_clk_get_enabled() helper
On Mon, 15 Aug 2022 18:59:23 +0200, Christophe JAILLET 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, the error handling paths and avoid the need of
> a dedicated function used with devm_add_action_or_reset().
>
> [...]
Applied, thanks!
[1/1] rtc: mxc: Use devm_clk_get_enabled() helper
commit: 25bcfaad5ec4e82aede4270d4925967f8520d4cf
Best regards,
--
Alexandre Belloni, co-owner and COO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
Powered by blists - more mailing lists