Received: by 2002:a89:d88:0:b0:1fa:5c73:8e2d with SMTP id eb8csp683795lqb; Fri, 24 May 2024 09:58:40 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWnmT3Qi9NdtcYyDxOFLVJQZAGnN1yKfPfMqfmUX1KfXH6wVZmqgv/tyzDLVuhGgzyj6yh+5qVaWH4pK/aOHVmVEQjr8ZBZDfHpCPnKSg== X-Google-Smtp-Source: AGHT+IEuBktHcbX8Np7vpQLJEtF4cDrRBDgn45oK5Wuqsqdih6LQNkJivpSBnx2VmhDjZSe/ySD1 X-Received: by 2002:a05:6a00:1d14:b0:6ec:f28b:659f with SMTP id d2e1a72fcca58-6f8f32a904cmr3027735b3a.3.1716569919815; Fri, 24 May 2024 09:58:39 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716569919; cv=pass; d=google.com; s=arc-20160816; b=bQYmakr2TO6CdPYWFF7qsyi8gJMP2TgY74F8DdM6zc9ImaO0sNWcnE3jrAMPDvySNh 52WvTsuS3XXNa8/wLq9xURWn3cd3PN14ohsnKCvFSLWrBOzTTqOrG6oTK7Zyjj9bKkpY W5diBcqhQ5WSnZLjgfNsq0TTcybeL86OQ/4FIgIg+O1lxmkj5x1zWQqhRyzOUcJoXA2C 7K7xSKMfJF5Ubtl/ATDh7r3A2b2OeuF4HhdoAEedkyOKNdpCnoPMkp9eOds1NmmdwF+K WYBPL3xWxg6NiiycBdcqFSQXRHJj64UB2nIe3dE4daG4G+QCDPqsYbOgZiAyHR8ixxKz NB3g== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=user-agent:in-reply-to:content-disposition:mime-version :list-unsubscribe:list-subscribe:list-id:precedence:references :message-id:subject:cc:to:from:date:dkim-signature; bh=+PoKy2cdF3pAHZeUroDK0C95HEcjrlws4+7j8Gz00ZU=; fh=jHcyx+IVpowG35XVSHZHhJJXv2nE4vuKpH2/2oKmCjM=; b=KlDclYDC8XEIu4ZHPlgxLokM9QIUSudbZrCt76/w0RQxvW3uwXX5X1zGuAFzADNjp2 0RXQ+ae4RqHbKD/r0zy96Dn0FfM3cWGbYBJWc2SgjDrH3s7jNBSl7MfZjAroEl22LMPd w8TXfXl3fenZjMtWrxpg4j8TGeKTuDGFo5cGpfqXbvZmtNybDqgfnRctjtWMnuvhZIXy r6/plnB+TRDPZZw78dhUynCUOcEcik9pcIHEEkD1U7up1QQ0sZszBFB3MIjCAiPKekH9 9HPTyXLvkr8jwjx4na1+d4Oo2aDE2H7MInInK6+n38H+yDsEO88/ikl7gg7nsvfB4DH+ 0w+g==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=D5lcRmF2; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-188957-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822a98d92bsi1524194a12.745.2024.05.24.09.58.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 May 2024 09:58:39 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-188957-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=@treblig.org header.s=bytemarkmx header.b=D5lcRmF2; arc=pass (i=1 spf=pass spfdomain=treblig.org dkim=pass dkdomain=treblig.org dmarc=pass fromdomain=treblig.org); spf=pass (google.com: domain of linux-kernel+bounces-188957-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-188957-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org 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 CF158B2178D for ; Fri, 24 May 2024 16:58:34 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 4F1BC12F36D; Fri, 24 May 2024 16:58:28 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="D5lcRmF2" Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 6138012C464; Fri, 24 May 2024 16:58:25 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569907; cv=none; b=EA0rCSo4TpuHhsIJFNtzXvVGU9NSQHfuBRGzrSjjcKx6vYFUS+0ktQXZPXr9WnarpIqjBXA1JKlsexUhUoafy1j7tqOMXZodLiPtNyAiEPf0qMX7oUldY29F0EZEsJpn1lzvdyNGGJ+8erIfXbpuJZMkDEibcOxhFabDXIWhC2E= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716569907; c=relaxed/simple; bh=vyV7Nc3wlmfIWioWQ2BsumXb2wAaUL29TJtLLBo79GQ=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=QGrdIPAIzWzvCNzvHrloZtaXkoDTHvnGzYH0iBV1qIsGUKesemgNqsMX560BdbkDcc18e+Doc6tpUvIhXe+3xrLTaFjaStZ/U+EiRPvUSPY7KFlJOMAYnTmS2UkchrHQ9CB3dWjNwV4Fcsac9XObkyAjib+q66MVDNQDm5FhQDk= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=D5lcRmF2; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=Content-Type:MIME-Version:Message-ID:Subject:From:Date:From :Subject; bh=+PoKy2cdF3pAHZeUroDK0C95HEcjrlws4+7j8Gz00ZU=; b=D5lcRmF28GtIKKU2 h7gcO0sH1sBA2VhBcwrQnomsfV/hxtXLeZL5Jh9sqyKeSkxy8QwuGG+2zjZFDtccPz9O6DxzL8E40 98avY3bFKvEwsJrIQBXyJfsEQuJqMiyi5RkO/1rjctwkTg4HGG5c0TAgNHvqJ+ObRoswUcL6orc0y RqjQ6C0iIS0dY7M9ZFVIF76oMjaVWsNqsPdH/tKsp3eFAIYFCJLpD61De7FdiM1RK1SWtskkacmNS 6AJ1ZKNAhZw0D1XjI7uBpG90qYT4mcHfwRkpAllubxHAvXDZzdLEabx9p8L91dRbjKE2XKEUuIYyP 2BkYAQXljdTEpDb+DQ==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1sAYFK-002Qw9-2c; Fri, 24 May 2024 16:58:22 +0000 Date: Fri, 24 May 2024 16:58:22 +0000 From: "Dr. David Alan Gilbert" To: dmitry.torokhov@gmail.com, christophe.jaillet@wanadoo.fr Cc: linux-input@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] Input: tca6416 remove unused struct 'tca6416_drv_data' Message-ID: References: <20240523002910.492558-1-linux@treblig.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline In-Reply-To: <20240523002910.492558-1-linux@treblig.org> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 16:57:45 up 16 days, 4:11, 1 user, load average: 0.05, 0.01, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * linux@treblig.org (linux@treblig.org) wrote: > From: "Dr. David Alan Gilbert" > > 'tca6416_drv_data' is unused since the original > commit 30ba3ead0576 ("Input: add keypad driver for keys interfaced to > TCA6416"). > Remove it. > > Signed-off-by: Dr. David Alan Gilbert Oops, looks like Christophe got there first! Dave > --- > drivers/input/keyboard/tca6416-keypad.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/drivers/input/keyboard/tca6416-keypad.c b/drivers/input/keyboard/tca6416-keypad.c > index 677bc4baa5d1..b2060229bd0f 100644 > --- a/drivers/input/keyboard/tca6416-keypad.c > +++ b/drivers/input/keyboard/tca6416-keypad.c > @@ -32,11 +32,6 @@ static const struct i2c_device_id tca6416_id[] = { > }; > MODULE_DEVICE_TABLE(i2c, tca6416_id); > > -struct tca6416_drv_data { > - struct input_dev *input; > - struct tca6416_button data[]; > -}; > - > struct tca6416_keypad_chip { > uint16_t reg_output; > uint16_t reg_direction; > -- > 2.45.1 > -- -----Open up your eyes, open up your mind, open up your code ------- / Dr. David Alan Gilbert | Running GNU/Linux | Happy \ \ dave @ treblig.org | | In Hex / \ _________________________|_____ http://www.treblig.org |_______/