[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20240906150418.734840-1-miquel.raynal@bootlin.com>
Date: Fri, 6 Sep 2024 17:04:18 +0200
From: Miquel Raynal <miquel.raynal@...tlin.com>
To: Jinjie Ruan <ruanjinjie@...wei.com>,
miquel.raynal@...tlin.com,
richard@....at,
vigneshr@...com,
linux-mtd@...ts.infradead.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH -next] mtd: rawnand: denali: Use the devm_clk_get_enabled() helper function
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@...wei.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.
Miquel
Powered by blists - more mailing lists