linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Peter Hutterer <peter.hutterer@who-t.net>
To: Hans de Goede <hdegoede@redhat.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-input@vger.kernel.org
Subject: Re: [PATCH] Input: novatek-nvt-ts - fix input_register_device() failure error message
Date: Fri, 19 May 2023 15:08:12 +1000	[thread overview]
Message-ID: <20230519050812.GA432263@quokka> (raw)
In-Reply-To: <20230513131712.259057-1-hdegoede@redhat.com>

On Sat, May 13, 2023 at 03:17:12PM +0200, Hans de Goede wrote:
> Fix input_register_device() failure logging "failed to request irq"
> as error message.
> 
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>

Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>

Cheers,
 Peter

> ---
>  drivers/input/touchscreen/novatek-nvt-ts.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/touchscreen/novatek-nvt-ts.c b/drivers/input/touchscreen/novatek-nvt-ts.c
> index 3e551f9d31d7..e7f30eeb91ca 100644
> --- a/drivers/input/touchscreen/novatek-nvt-ts.c
> +++ b/drivers/input/touchscreen/novatek-nvt-ts.c
> @@ -272,7 +272,7 @@ static int nvt_ts_probe(struct i2c_client *client)
>  
>  	error = input_register_device(input);
>  	if (error) {
> -		dev_err(dev, "failed to request irq: %d\n", error);
> +		dev_err(dev, "failed to register input device: %d\n", error);
>  		return error;
>  	}
>  
> -- 
> 2.40.1
> 

      reply	other threads:[~2023-05-19  5:08 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-13 13:17 [PATCH] Input: novatek-nvt-ts - fix input_register_device() failure error message Hans de Goede
2023-05-19  5:08 ` Peter Hutterer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230519050812.GA432263@quokka \
    --to=peter.hutterer@who-t.net \
    --cc=dmitry.torokhov@gmail.com \
    --cc=hdegoede@redhat.com \
    --cc=linux-input@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).