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@xxxxxxxxxx> 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