From: Javier Carrasco Date: Wed, 19 Jun 2024 21:13:22 +0000 (+0200) Subject: Input: ims-pcu - drop repeated "input" in error message X-Git-Tag: v6.11-rc1~98^2^2~50 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=daa268ae2866ae5c80a0650c04a4989fb069b5d9;p=thirdparty%2Fkernel%2Flinux.git 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: Javier Carrasco Reviewed-by: Kees Cook Link: https://lore.kernel.org/r/20240619-ims-pcu-counted_by-v1-2-3ee0ead2e57d@gmail.com Signed-off-by: Dmitry Torokhov --- diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index 91f8ad8262383..a8c474de01ad7 100644 --- a/drivers/input/misc/ims-pcu.c +++ b/drivers/input/misc/ims-pcu.c @@ -207,8 +207,7 @@ static int ims_pcu_setup_buttons(struct ims_pcu *pcu, input = input_allocate_device(); if (!input) { - dev_err(pcu->dev, - "Not enough memory for input input device\n"); + dev_err(pcu->dev, "Not enough memory for input device\n"); return -ENOMEM; }