Commit daa268ae authored by Javier Carrasco's avatar Javier Carrasco Committed by Dmitry Torokhov

Input: ims-pcu - drop repeated "input" in error message

This case of the common error message upon failure of
input_allocate_device() repeats the word "input".

Drop one "input" from the error message.
Signed-off-by: default avatarJavier Carrasco <javier.carrasco.cruz@gmail.com>
Reviewed-by: default avatarKees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240619-ims-pcu-counted_by-v1-2-3ee0ead2e57d@gmail.comSigned-off-by: default avatarDmitry Torokhov <dmitry.torokhov@gmail.com>
parent e8135f9d
...@@ -207,8 +207,7 @@ static int ims_pcu_setup_buttons(struct ims_pcu *pcu, ...@@ -207,8 +207,7 @@ static int ims_pcu_setup_buttons(struct ims_pcu *pcu,
input = input_allocate_device(); input = input_allocate_device();
if (!input) { if (!input) {
dev_err(pcu->dev, dev_err(pcu->dev, "Not enough memory for input device\n");
"Not enough memory for input input device\n");
return -ENOMEM; return -ENOMEM;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment