[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20250622152629.70cd864c@jic23-huawei>
Date: Sun, 22 Jun 2025 15:26:29 +0100
From: Jonathan Cameron <jic23@...nel.org>
To: David Lechner <dlechner@...libre.com>
Cc: Michael Hennerich <Michael.Hennerich@...log.com>, Nuno Sá
<nuno.sa@...log.com>, Andy Shevchenko <andy@...nel.org>,
linux-iio@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH] iio: adc: ad7173: simplify clock enable/disable
On Fri, 20 Jun 2025 09:30:46 -0500
David Lechner <dlechner@...libre.com> wrote:
> Use devm_clk_get_enabled() instead of devm_clk_get(),
> clk_prepare_enable(), devm_add_action_or_reset() to simplify the
> code as it effectively does the same thing.
>
> We can also drop ext_clk from struct ad7173_state since it is not used
> anywhere else.
>
> Signed-off-by: David Lechner <dlechner@...libre.com>
Applied.
Thanks,
Jonathan
Powered by blists - more mailing lists