From patchwork Sat May 13 13:17:12 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hans de Goede X-Patchwork-Id: 13240164 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC84AC77B7F for ; Sat, 13 May 2023 13:18:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234165AbjEMNSI (ORCPT ); Sat, 13 May 2023 09:18:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233967AbjEMNSG (ORCPT ); Sat, 13 May 2023 09:18:06 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E08073AB1 for ; Sat, 13 May 2023 06:17:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1683983837; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=vp7yABBnAUJAHIhnbEwb+wj0KQF2Mdip00bxB0DfbcI=; b=UgQehFg59twX8tmIjSCjg8dGEhl/R+lJWgL8GeMA1xXolZPtUS2Yg108PNypaIpFNrAqgl XxvPq41R3jd55ZeXXq/YXZwCCUiMYHQRXdupBkxO4mJ0JLcnshDyxlbfvl3JycnJ9rYelh +P9kVzNSGK6NSWby+C8UM/3mm9aKApo= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-604-My1NhcPkOkmUrAMwD2WDyg-1; Sat, 13 May 2023 09:17:14 -0400 X-MC-Unique: My1NhcPkOkmUrAMwD2WDyg-1 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.rdu2.redhat.com [10.11.54.5]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 082F485A588; Sat, 13 May 2023 13:17:14 +0000 (UTC) Received: from shalem.redhat.com (unknown [10.39.192.46]) by smtp.corp.redhat.com (Postfix) with ESMTP id 70D2363F5F; Sat, 13 May 2023 13:17:13 +0000 (UTC) From: Hans de Goede To: Dmitry Torokhov Cc: Hans de Goede , linux-input@vger.kernel.org Subject: [PATCH] Input: novatek-nvt-ts - fix input_register_device() failure error message Date: Sat, 13 May 2023 15:17:12 +0200 Message-Id: <20230513131712.259057-1-hdegoede@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.1 on 10.11.54.5 Precedence: bulk List-ID: X-Mailing-List: linux-input@vger.kernel.org Fix input_register_device() failure logging "failed to request irq" as error message. Signed-off-by: Hans de Goede Reviewed-by: Peter Hutterer --- 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; }