Received: by 2002:ab2:7855:0:b0:1f9:5764:f03e with SMTP id m21csp653397lqp; Wed, 22 May 2024 16:05:25 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWgWHoq85lfC6YBbBI2c8J6y7Kc/bIkfHEBDFz6j3lkLdNOKIWorTL9LzbuWCA+fWXcReF5RBHctR4fYmLLmOEO9Ohor7xhbCg3z4GpKA== X-Google-Smtp-Source: AGHT+IEwDfe01OIOMLWUv13hYoeXlkFOcXXS7bT84giGCC5pNFm6LDMjbVkxC2RsL0lfBhqO9P0u X-Received: by 2002:a05:6512:3e22:b0:516:d219:3779 with SMTP id 2adb3069b0e04-526c0d4a203mr2202832e87.58.1716419125608; Wed, 22 May 2024 16:05:25 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716419125; cv=pass; d=google.com; s=arc-20160816; b=GOVuGMavolmKdLoYXIHexSV5axIdouwrCZk+52i6TstUa2mxWtK8eeGuuSjJm5f/Mf KEHA8SHgL/nzXyii9xE0tf4inFlaitRbnpnt07Gc1Nc1D4y6jAPJnrI6i7h2BFLo/auc WSWaBQ3ZSMAOVFsozS/+czTRm/QBX1hOhlXcMHanPWci0a+JrDnsz7R1mb9y0wmXSyWX 01h4EEH+O125dPU5S9tiFSAYuWIRE3vczgZuFlbP58en3LVmY+Mh+7UEL6EQnoRpiBMA B39oqAwihKVfnEhKiG0tFAWAQylPvxbdH3j/NoSsIn7wiHbLWOolA5GedUy6umJkOMoe WBGQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=/KqgiF6JyOVGu5gdJ/j9Ln5H0DOWGdPUlVZSPNo6r34=; fh=4rYPLrWL73leC4uyDZNVMOF0I/SoXi2QF0iltZ4kPwE=; b=NTRZZanLh8R0lSI2vmEepx1H7i7QgyucyR6p7oy+00oSzq+UG4NUbyTKkDFuLSgCDM e5uTjs3bQjidDBtG253gIU0IpAOMaM/bmadgoQkGBgtGAi5WPoTyNvAJYu3Wqj7AWgIL gLxcA/y8YbhkFCIujPuIL0z0QtEDucFsLN3JaOz6WU5LCC039wF8Zk4NHNnQms7rYtgW EvdipaJ1UnlcJBVpR70Z9Gg82azc011mW9dHFOrdOtXi9oDkIyfHMpKnZJYQvPQmy7MP 7ZqJZyw3TSMRnI5ZEUsYqOLk/NbojITb1gVRaQkPq3BS7jB5a176Mkc9C7Z/yKvaL+3J beAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=jd50RRlo; 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-186797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186797-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id a640c23a62f3a-a5a17946396si1595833566b.116.2024.05.22.16.05.25 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 22 May 2024 16:05:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-186797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=jd50RRlo; 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-186797-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-186797-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 262081F22067 for ; Wed, 22 May 2024 23:05:25 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 285C5149DEB; Wed, 22 May 2024 23:05:11 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="jd50RRlo" 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 909CA145B14; Wed, 22 May 2024 23:05:08 +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=1716419110; cv=none; b=mrvZKeP+QBq+b1/yvOgbPFPog8bTMP8KOZsUWXr7WXK8YRB1y3k2ivmJuQlOst4yc8YPi6gEnbhz8VwHiE12qPfjT54yVkkdkHF6NOhvoSXl8lGAIBgisnepXdtDb3UWNz0Q5udK/y/9HkyQOkKA8U9VPZelkm4tBSyb1qbDlts= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716419110; c=relaxed/simple; bh=IZSQW4GuzdTVV0wRqC/Dl9Mli6Jmli2ntbkxW3IaW04=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=rHa3p3H86qEI2GXHwiVWiJWcWGpaoaFRNztSAM5q5D/pPQ2N/wpkYKxYlB+6aiyWSWoQxpLJtQwuG67Dqbo8LfEVEySl5nDs94Jka5DP5ja70If4qFAW/Sr6z0bwZxKBqCqkC2G67B7TYQKKMw4iBLhetY+VBVQ4/PqMtsBaeVo= 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=jd50RRlo; 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=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=/KqgiF6JyOVGu5gdJ/j9Ln5H0DOWGdPUlVZSPNo6r34=; b=jd50RRlojAR0yE9d 8c4kZAGmLLfF/Ya5sfb1XDnKdk614E238D/z+l+RPhr53cpK3faRm9bJqCJt6eVDAThmjWFH3KDYZ mQ/K/NiOBQfw7ZptmNRpIJLHl6Zm0wecGoRBE3JVrdbVZuoaHc7VYfPvTzdCFHP7ELrhutIzhhm5M urqIYGwTcSqeVlBu7ubTI8VGUYt1a/KPtyl+ItXGMYhh47wRugFAb/9XNP5rGWGo/ySfVSWqUHxQd 92xbP2c4cRGK67fcpAxgGR+dN7hGtQMuaOlOZ+lXl8M54T9peTOfBoB0oFk6tjhLjaZWBW1QFfWov mRhiZGzhCPJTGDAYLA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1s9v14-0027Vk-02; Wed, 22 May 2024 23:05:02 +0000 From: linux@treblig.org To: jic23@kernel.org, lars@metafoo.de, marius.cristea@microchip.com, mazziesaccount@gmail.com Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH 2/3] iio: adc: pac1934: remove unused struct 'samp_rate_mapping' Date: Thu, 23 May 2024 00:04:56 +0100 Message-ID: <20240522230457.478156-3-linux@treblig.org> X-Mailer: git-send-email 2.45.1 In-Reply-To: <20240522230457.478156-1-linux@treblig.org> References: <20240522230457.478156-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-Transfer-Encoding: 8bit From: "Dr. David Alan Gilbert" 'samp_rate_mapping' has been unused since the original commit 0fb528c8255b ("iio: adc: adding support for PAC193x"). Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/iio/adc/pac1934.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/iio/adc/pac1934.c b/drivers/iio/adc/pac1934.c index 456f12faa348..ae24a27805ab 100644 --- a/drivers/iio/adc/pac1934.c +++ b/drivers/iio/adc/pac1934.c @@ -227,11 +227,6 @@ struct pac1934_features { const char *name; }; -struct samp_rate_mapping { - u16 samp_rate; - u8 shift2value; -}; - static const unsigned int samp_rate_map_tbl[] = { [PAC1934_SAMP_1024SPS] = 1024, [PAC1934_SAMP_256SPS] = 256, -- 2.45.1