Re: [PATCH -next] mtd: rawnand: denali: Use the devm_clk_get_enabled() helper function

From: Miquel Raynal
Date: Fri Sep 06 2024 - 11:05:43 EST


On Mon, 2024-08-26 at 08:04:08 UTC, Jinjie Ruan 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.
>
> Signed-off-by: Jinjie Ruan <ruanjinjie@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel