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