linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Input: spear-keyboard - Fix an issue and clean-up code
@ 2024-07-25 20:46 Christophe JAILLET
  2024-07-25 20:46 ` [PATCH 1/2] Input: spear-keyboard - Fix a double put in spear_kbd_remove() Christophe JAILLET
  2024-07-25 20:46 ` [PATCH 2/2] Input: spear-keyboard - Switch to devm_clk_get_prepared() Christophe JAILLET
  0 siblings, 2 replies; 7+ messages in thread
From: Christophe JAILLET @ 2024-07-25 20:46 UTC (permalink / raw)
  To: dmitry.torokhov, vipulkumar.samar, viresh.kumar
  Cc: linux-input, linux-kernel, kernel-janitors, Christophe JAILLET

Patch 1 fixes an old double put issue in the remove function.

Patch 2 is just a clean up to remove some lines of code. It changes the
order of some initialization so should be reviewed with care.
This driver looks old, without changes other than clean-up for more than
10 years, so maybe this patch should just be dropped.
I let you decide if safe and useful or not.


Both patch are compile tested only.

Christophe JAILLET (2):
  Input: spear-keyboard - Fix a double put in spear_kbd_remove()
  Input: spear-keyboard - Switch to devm_clk_get_prepared()

 drivers/input/keyboard/spear-keyboard.c | 16 +---------------
 1 file changed, 1 insertion(+), 15 deletions(-)

-- 
2.45.2


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-07-25 21:55 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-07-25 20:46 [PATCH 0/2] Input: spear-keyboard - Fix an issue and clean-up code Christophe JAILLET
2024-07-25 20:46 ` [PATCH 1/2] Input: spear-keyboard - Fix a double put in spear_kbd_remove() Christophe JAILLET
2024-07-25 20:52   ` Dmitry Torokhov
2024-07-25 21:34     ` Christophe JAILLET
2024-07-25 21:55       ` Dmitry Torokhov
2024-07-25 20:46 ` [PATCH 2/2] Input: spear-keyboard - Switch to devm_clk_get_prepared() Christophe JAILLET
2024-07-25 20:55   ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).