[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZqK7pJ3TaqgwVYpE@google.com>
Date: Thu, 25 Jul 2024 13:55:00 -0700
From: Dmitry Torokhov <dmitry.torokhov@...il.com>
To: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Cc: vipulkumar.samar@...com, viresh.kumar@...aro.org,
linux-input@...r.kernel.org, linux-kernel@...r.kernel.org,
kernel-janitors@...r.kernel.org
Subject: Re: [PATCH 2/2] Input: spear-keyboard - Switch to
devm_clk_get_prepared()
On Thu, Jul 25, 2024 at 10:46:50PM +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 completely remove the .remove()
> function.
>
> Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr>
Please refresh after dropping the 1st patch and resend. You may remove
the call to input_unregister_device() in the context of this change as
without explicit call to clk_unprepare() on removal we can fully rely on
devm for cleaning up.
Thanks.
--
Dmitry
Powered by blists - more mailing lists