Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1418936lqo; Sun, 12 May 2024 01:25:49 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWq/TdImeIfVFLvatm2eNKGO3Rml5YKCdDK/cGxCvpy7WQiVsdx7JSnK4k5q1Y5Kr+1MJR9SZBq2D/r+xlaz/IC/Xz2ra+Z2Qrj5CIRTQ== X-Google-Smtp-Source: AGHT+IGY+//GxckC3Gi9BFEj6dmyR9hjdXo1wE23MMS/3qyaRw+tVU2N92r3WXaMLQvOOb2dxO6+ X-Received: by 2002:a05:6a00:844:b0:6f4:7606:aa85 with SMTP id d2e1a72fcca58-6f4e03b0612mr8417639b3a.32.1715502349331; Sun, 12 May 2024 01:25:49 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715502349; cv=pass; d=google.com; s=arc-20160816; b=R63Dywy8yCYHeBdrG8oBI8k/v3kFHlXJW4QGy9uSKAKaGHBYrvJLpTTtO9K3obKyuJ uzr2pr8JSbrE8r0qaRI5zDKJBZIDGFOCpLaKtE9v8S8q3xanKHy2z7KfD2JsYrnM14Zh sR4NwvEBgP65NeYILGdJHpqKfHHwY5OaHnVA2Paf4wM9gitmvxKCehA0cQmr4QZYW42c 4hY9CLskLyQDlQ8cYtAO1VzPTzpT7JRUKJ1K3SrBWS+YD5nxsP0QuatKlRAcY44prrbj SyJ8kVbJXqr4yRxp9RX6FQhB4Kukj6BHAWPcKqVmdPF/Ejwlq4YrlDd7aH/IGKa/kAyv NCew== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=56iz0oI+WX/kH2ILFWTh8WmhpFc2Q7uosN2/CPWH/4o=; fh=dyjPdCDMczZQaYXbLa6GW3QFzsr36G19whsmkaoCAXw=; b=urinGvmzzO2h4dwQyCmb16LqsoZzJOS0aSUVE36nW7ZbSbf2lk//5Lao4XyZsmGYgz LyeVh2+m7RkZnpCBMqQglbWnUvH8acBAbBushbvbnnw0dH2qjRlOIHvvGW6pQN1ufl7+ Y4GRkhyCuk97/rEWYyZdY63Lnmo9NNwcmxdZqvfCP/djY6GFWbEejHYMX+t/Z+WD2Fxm pOPBO1DU4i7eh3EDGWo4TpAp4RLhOSsaRuOyJnSOuBsNx75/J6r1T/XkUD/X1Xj4MuO3 cy42hE4iuX5Yheawpn7lqQld6WzijcFqr7zumkunR2B2qFxWL8w2BIp5pdqJob8+L5Ew I4nA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=aZb+cq2d; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-176826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-63409e824e5si6907137a12.9.2024.05.12.01.25.48 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 01:25:49 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=aZb+cq2d; arc=pass (i=1 spf=pass spfdomain=wanadoo.fr dkim=pass dkdomain=wanadoo.fr dmarc=pass fromdomain=wanadoo.fr); spf=pass (google.com: domain of linux-kernel+bounces-176826-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176826-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 884DCB20F37 for ; Sun, 12 May 2024 08:25:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4A2AF17BB5; Sun, 12 May 2024 08:25:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="aZb+cq2d" Received: from out.smtpout.orange.fr (out-18.smtpout.orange.fr [193.252.22.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9DAEEF4FB; Sun, 12 May 2024 08:25:31 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=193.252.22.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715502334; cv=none; b=J4pJE8iU1um1MA2psYq+W+5ShQYUd0y1gPjz0hiCJhz4jW7RD45AXvBfhclhWNBpzp4gjkAEWHfWvZTf6ZZH9P536taL/ert1uRHdNokTyVt8RhKUyzfzlQtg8Zr7r5qce/J7oHC1JB2SXj0mNwsWYSBvPR+aLhrnIGDboxj/lc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715502334; c=relaxed/simple; bh=3bropaEuO+HDjP2gQM23pQyv3+GAl2eSHPXjLwrxc58=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Ladg/YLoXBYsmOZGZQgOz92WB9tOCrBcr+1USq8JWmuqPg9bjKFQCdYjp9gojIpPIQUaBQ3ylrp7qerEPH1wzPcsyyZJbRsA+z3geqyboqX/otih8ttlZWD6w7w299gsk4X7QNHhmAcK25q2hxvOMlaTDsnoFJzlGvr1+Ql0DDg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr; spf=pass smtp.mailfrom=wanadoo.fr; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b=aZb+cq2d; arc=none smtp.client-ip=193.252.22.18 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=wanadoo.fr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=wanadoo.fr Received: from localhost.localdomain ([86.243.17.157]) by smtp.orange.fr with ESMTPA id 64WPsyoweU2oV64WPsDA52; Sun, 12 May 2024 10:25:29 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1715502330; bh=56iz0oI+WX/kH2ILFWTh8WmhpFc2Q7uosN2/CPWH/4o=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=aZb+cq2d6zcgJbbWJcuq9i5bn94KbhTK7EHFkccvy1eN1gjkhFsMMY7BEB9X2k8/3 h/Lb6wW2ELiCout1iNRuVP8/4MnIcb/BfaCG+x1Sbh79VX95cOhyn6jsooToNuI0dy 30nxCjLMA30BejOOAM+oFS+A9UnGMC6YVN58opjS3NWJDM7wI2ePr7O8mVUX/ospVb QsmGzQ1VlSUJT92tETgv9GsixZ7Ry/ANrgdCE9qFxJci1W/J6+2sbRLvFPBGAIL0i3 LKSxpSwUo8988LYo1K2mm+9zmheaTe/YvhG+3szhOu7xcg/i67XP6mxP2o9NbbCq38 TnXGrfaUCsM5g== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 12 May 2024 10:25:29 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Hans de Goede , Dmitry Torokhov Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-input@vger.kernel.org Subject: [PATCH] Input: chipone_icn8505 - remove an unused field in struct icn8505_data Date: Sun, 12 May 2024 10:25:17 +0200 Message-ID: <37443a675ca07c91c5f0118ce255406e6e3c08f5.1715502304.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.45.0 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In "struct icn8505_data", the 'wake_gpio' field is unused. There is also nothing about gpio neither in this driver nor in the data-sheet. So, remove it. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET --- Compile tested only. It was added in the initial commit e7330fa032bb ("Input: add support for ChipOne icn8505 based touchscreens") but was never used. --- drivers/input/touchscreen/chipone_icn8505.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/input/touchscreen/chipone_icn8505.c b/drivers/input/touchscreen/chipone_icn8505.c index b56954830b33..c1b4fc28fa8d 100644 --- a/drivers/input/touchscreen/chipone_icn8505.c +++ b/drivers/input/touchscreen/chipone_icn8505.c @@ -68,7 +68,6 @@ struct icn8505_touch_data { struct icn8505_data { struct i2c_client *client; struct input_dev *input; - struct gpio_desc *wake_gpio; struct touchscreen_properties prop; char firmware_name[32]; }; -- 2.45.0