Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp1447290lqo; Sun, 12 May 2024 02:59:45 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWtGDzgIpFQaF3eH1YPuE44BlcgVl0gbinOZbsH/PSewTYnT3jImJJj8rnXwgKdPP+05HleX7N3ZCsFphl/8oGmxK2OHeWCTK840kU/6A== X-Google-Smtp-Source: AGHT+IG4JMO3nQGmXD0DxQ6UP2ilZYW+u8ZTyp+UkxBcQDsLeCUe6UILvwuOtR4eLPjfcxn6ml1y X-Received: by 2002:a05:6512:3a8a:b0:51f:4c53:8e4c with SMTP id 2adb3069b0e04-5220fd785f3mr5368170e87.33.1715507984756; Sun, 12 May 2024 02:59:44 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715507984; cv=pass; d=google.com; s=arc-20160816; b=US0mHOvGjZgBk+0Q1EMSx54Qkxug+cgrIfiyGBZIxRkdJhxSuakn56VNxVQqi5+gXq U604nWmpxQnZju0E9ridf801gMzwt9/zkk7jAUDU0ldGvOeT53Xqs74kRDr4XXKEH4Sr lggz5Gi65FUOI45RGO3HwfYoWX/VkD5WlBbbP4SlrH6cASDLxixJIw5HY/ytHYv35kMH x5p8py7JgAhw5nwo5L1vyBE7LEfYPd6Kw5qWzZ5/HGJ6oaFOlMeC5SpF3010reFvyGPH Ni1Ub15swTPGviLPcE/E3HHHnMLghwxSgCKIE+IOJJYRPr3eWOp0BgjhOJ5+hX5S5Cqe hmMg== 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=QeVJXEiY1Oon2HgNphnIfoNk7xFyqVbQ0qMzYFx+tac=; fh=UvIvorCy2UY0O6S4IA9AddpHMPl2crLKG2jvRdkPIkQ=; b=L5IUSuL5CJO6Yx1IMpcXqCz1289ckWoc2UTTpZg5xpMuCnmAHVzQzf6W/zM8VAAkGk LX+awI3bZ8tAc6kXLk8n37eI/mSAMtj1rFThmGQHoEEpzYCrW9JRH28XNk0ljwDRwZpL QJgf2sd3Dfw8Wkba3dj/gkzJ0BeLRHOxYveq/EPZhf3HTUGsXS7Gj+ivsYLOQa/pA1ub +56x8OQbNahgYAq9dBQQZsGCqyweZOJrJsuZu2R3II1qwz+D4Qz4IWz5OlqpDhqlhCn7 fY5Junu1porhdnN2s1NkAlim0lwHHwkYAOiSSLPBVYunzzgVT4JTB8kRLbtusA8IngV/ SGbA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=XWh1fYaN; 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-176847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176847-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=wanadoo.fr Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [2604:1380:4601:e00::3]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17be6b57si387572866b.782.2024.05.12.02.59.44 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 12 May 2024 02:59:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-176847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) client-ip=2604:1380:4601:e00::3; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=XWh1fYaN; 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-176847-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:4601:e00::3 as permitted sender) smtp.mailfrom="linux-kernel+bounces-176847-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 6B7741F21396 for ; Sun, 12 May 2024 09:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 7FA011CAB3; Sun, 12 May 2024 09:59:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=wanadoo.fr header.i=@wanadoo.fr header.b="XWh1fYaN" Received: from msa.smtpout.orange.fr (smtp-71.smtpout.orange.fr [80.12.242.71]) (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 769B21C2AD; Sun, 12 May 2024 09:59:30 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=80.12.242.71 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715507973; cv=none; b=I3zJUiZUWl8Ds3jAevzR4IkDbZteNAprT2cIosvxhFK4mlUmGKboWBGQD14zt/QhV7OdYHoH2M+QPby4q5ZhHy1k6QatudSenhX5Ys6L8TLDs/ida+8zws5VYW16Qv7lWhA4nbTr8BiqrGDI74Ji17rwFpNOgBzNg8I57Dfvk3s= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715507973; c=relaxed/simple; bh=8FO2pFl3lkJJbZeEoxEUP35Je1WWVwtKCL9O+iPwV/M=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ewYyYCTpMOfz9Oyv96yVRqt1u53rQhJZng/G1La1pXDe46FRT4QX/+7qs/bxg5UHGZxrfuzlyXoUeYvK+Nw44ZXG4+RWZLghvGDyX4kiOXTo9XEPULgBStG03+DfRrrmAkdHQVNZ8jsVoKs0u2lTxLMAe49LvBCCrvqga63VKpc= 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=XWh1fYaN; arc=none smtp.client-ip=80.12.242.71 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 65y5sl8nbps3t65y5sKfZD; Sun, 12 May 2024 11:58:10 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1715507890; bh=QeVJXEiY1Oon2HgNphnIfoNk7xFyqVbQ0qMzYFx+tac=; h=From:To:Subject:Date:Message-ID:MIME-Version; b=XWh1fYaNBjRRqIrGr7bVdGScLFrdVssVwtuJUPA8N+VXm6Uhf5TZDSFaNEAi3sC7h EcjjYCoFZQjARhO6GBZuAmGTwOnOzOf/iDnBF7AEHsX7lH1nIRZgkSYxTN/RznqepJ Zs0v0G1NW6fJ/2HtM6ff9kzlN4rSNW1ZLN6cfYXKtohF/v80kh3oXmY+lLE9oUTvmf HpYsAxBEpTW5tMvHIXcFMoZF7Bgi3+pIxMROex8LqcrsBTTRzHzn27cKOB8PyXaq9w KauHc2Fe0MoGt4SH9H9feM8OngtyDF7GFxNPccTCfLLvzYrbMU4jwBn9y6liuFlrsM PFHpcNLoG/IdQ== X-ME-Helo: localhost.localdomain X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Sun, 12 May 2024 11:58:10 +0200 X-ME-IP: 86.243.17.157 From: Christophe JAILLET To: Dmitry Torokhov Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-input@vger.kernel.org Subject: [PATCH] Input: zet6223 - remove an unused field in struct zet6223_ts Date: Sun, 12 May 2024 11:58:00 +0200 Message-ID: <3065d885341e2730dd3e7905d75514796a8c25e4.1715507858.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 zet6223_ts", the 'vcc' and 'vio' fields are unused. So, remove them. Found with cppcheck, unusedStructMember. Signed-off-by: Christophe JAILLET --- Compile tested only. It was added in the initial commit 83f66a6f08fa ("Input: add driver for Zeitec ZET6223") but was never used. --- drivers/input/touchscreen/zet6223.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/input/touchscreen/zet6223.c b/drivers/input/touchscreen/zet6223.c index 1a034471f103..ec3fca4a48c0 100644 --- a/drivers/input/touchscreen/zet6223.c +++ b/drivers/input/touchscreen/zet6223.c @@ -25,8 +25,6 @@ struct zet6223_ts { struct i2c_client *client; struct input_dev *input; - struct regulator *vcc; - struct regulator *vio; struct touchscreen_properties prop; struct regulator_bulk_data supplies[2]; u16 max_x; -- 2.45.0