diff options
author | Javier Carrasco <javier.carrasco.cruz@gmail.com> | 2024-06-19 23:13:22 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-06-20 08:45:12 -0700 |
commit | daa268ae2866ae5c80a0650c04a4989fb069b5d9 (patch) | |
tree | 109bf754bc375c3596c5d4f504280f8ee078a2b0 /drivers/input | |
parent | e8135f9dc774f956bca44a13cf056403140e2337 (diff) | |
download | linux-daa268ae2866ae5c80a0650c04a4989fb069b5d9.tar.gz linux-daa268ae2866ae5c80a0650c04a4989fb069b5d9.tar.bz2 linux-daa268ae2866ae5c80a0650c04a4989fb069b5d9.zip |
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 <javier.carrasco.cruz@gmail.com>
Reviewed-by: Kees Cook <kees@kernel.org>
Link: https://lore.kernel.org/r/20240619-ims-pcu-counted_by-v1-2-3ee0ead2e57d@gmail.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input')
-rw-r--r-- | drivers/input/misc/ims-pcu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/input/misc/ims-pcu.c b/drivers/input/misc/ims-pcu.c index 91f8ad826238..a8c474de01ad 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; } |