[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <Zqbblj4rPjmAhvt7@google.com>
Date: Sun, 28 Jul 2024 17:00:22 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-input@...r.kernel.org
Subject: Re: [PATCH v2] Input: spear-keyboard - Switch to
devm_clk_get_prepared()
On Sat, Jul 27, 2024 at 08:36:49AM +0200, Christophe JAILLET wrote:
> Use devm_clk_get_prepared() in order to remove a clk_unprepare() in an
> error handling path of the probe and from the .remove() function.
>
> This done, the whole .remove() function can also be axed because
> 'input_dev' is a managed resource allocated with
> devm_input_allocate_device() and we can fully rely on devm for cleaning up.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Applied, thank you.
--
Dmitry
Powered by blists - more mailing lists