Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp298837lqb; Tue, 28 May 2024 16:30:27 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCVIA+qHc0JljGrRCGBIvCdzQFbrHxLw62g7MiZg+4SgjAguSJE7Z3PDFFzo6dOwAndeAahh5M7ANZKAf5MYYTeeb+U+0mmyJEs6aykA6w== X-Google-Smtp-Source: AGHT+IGalEBqQZme86KYQYukoQfL6TWohnBhE+sK8wc0nQSDJ1BQcSIQITMpb0u2M9v+G8fH+W8i X-Received: by 2002:ac8:7d86:0:b0:43a:f698:2b21 with SMTP id d75a77b69052e-43fb0e6fc60mr127568521cf.36.1716939026676; Tue, 28 May 2024 16:30:26 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716939026; cv=pass; d=google.com; s=arc-20160816; b=c+g4j98Aru8vbIXytK1tWdZ7fuIMkhc0T3bri9cm5z35SeB1NqSvz62FoZgPwxZ4Z5 X5Ro170gHCLzExBFhBuQHCKp66KjbAQUH3Pvpy8AH5xdN7dt3uYzzYi8Om/6DzfFGCh2 oRaWlu7BzbiXq3lgkHfWQxCfqHHGuXoWnw6IJmAZZ1fUzSCgTWMjH6HNQ7Xmv+DgRRcS IDcOjRzlTqYiDAA2/TLkQgvdtLNaDJ+HH05n43w+sE6C657B0hRQrRRQf6c/+Vv+mwmc g7m6mBFNQxN1bfxmvfmBWcl23BWemTJkPvoPLK8RJ4DGkrnYtfuvNXDvxGvY/Le6fHNS A6hg== 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=8AgdoNvg2vLBvOv+vufZaMaj67p6bwHQsF924AkCUf8=; fh=M08LOXoLXpwP6ndBGvos+kUouyfVavylmkJ8WVwSbF0=; b=Y0ag/sP25B+2B520bi1TjdPEgITAhcQU5syJkiPpRI6DBxinElhAN44vos+pEQaXY2 9webtBmw+4GGSzNJ4hNehJ/wX0b0z2MhiypxQdmr5+uD15dy190rnZp6h4uChA6ay4gs jgO1zbzkdW+Ni/d65IZpshvQw/mnFq8Ge1zpa9+qaBIJt9vkj9cKIS1jTogdDFBW07M5 hWl5C6minslQ1oQNcGnHV1oNcx0E/+jx5JWf0OmInxcnVoiyg5Eh7apSBFtA0gsVhKHj 8mLrEbzDrh0GU5lLlBC99xmqEqq0R47pBLC5PQcG2sdGXbhiV+SjTcV9tVT8IzxwdeXy b1jA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=KssyC0uG; 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-193232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193232-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=treblig.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id d75a77b69052e-43fb18c5614si114449801cf.602.2024.05.28.16.30.26 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 May 2024 16:30:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-193232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=KssyC0uG; 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-193232-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-193232-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 ny.mirrors.kernel.org (Postfix) with ESMTPS id 66DCB1C24179 for ; Tue, 28 May 2024 23:30:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 32A9813F442; Tue, 28 May 2024 23:30:20 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="KssyC0uG" 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 3116213C3CC; Tue, 28 May 2024 23:30:16 +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=1716939019; cv=none; b=GNpKhXDrQArI4e5wh04elki6Gu4E8EZwGYvzFyQ/A6hk5JRESNYlbq0BksbAEoTfGzTtiAduabRNgRQ9tVhnyatanL/dKBdjyPjZtojeELGYUWiw2ok5qma6VLLhQEIM/4gxWV1LdWh146UmaVNBCzTpj7tLTVbugGvRYlgbg8c= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716939019; c=relaxed/simple; bh=qSjx/bsB/zVHhVAjJTymNFXtCgkyChbruLtJUDIzE9A=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=fIXEb4a1bLAGbDzWbwDBMNFf+yyQanReJxUokj1/9uaeK7sR8+XjMzKqvMmijkyKOxpRHFKCq7YnxCOfZ4CLWKpmT77W6+4usmRXecfR5jHaMygWUmQDN5sJX+Sd+jW+TFG+IuaN79JHwc27b0ANsdddPlaervpRjH4UaFRujME= 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=KssyC0uG; 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=8AgdoNvg2vLBvOv+vufZaMaj67p6bwHQsF924AkCUf8=; b=KssyC0uGU9dkqlXX r2/LCXd6Qna+tAGdyzbmq3j3g5ONjdncsu24U3fQQmmDmoia3BXXzJg+LdSWkKBK5wZYdreOEJ9D/ PZA4PUjE8c2jn5eDwv/AzCpb+ViRFo0pNE7WSr15n+dptLABGvlgLJ98b1y3STUuaTP/LqO6o1sBE bO47vcxzYt6SxXEffR0b81xpxN+Hzii5gNPfsjTu6FHUdPq8zk3WOmbTv8YR9fB7nbuNU6QOGm3RI 4WUSJYlv1lQNQyUoZf/snsNobPA3eSeBd38tt5DwEaN7kSiNkXvxpEZej3MdUODof38sm8RnDwLF3 va3bm61wgXL3yVqOxA==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sC6Ge-00346V-35; Tue, 28 May 2024 23:30:09 +0000 From: linux@treblig.org To: lars@metafoo.de, Michael.Hennerich@analog.com, jic23@kernel.org Cc: linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] staging: iio: adt7316: remove unused struct 'adt7316_limit_regs' Date: Wed, 29 May 2024 00:30:08 +0100 Message-ID: <20240528233008.191403-1-linux@treblig.org> X-Mailer: git-send-email 2.45.1 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" 'adt7316_limit_regs' has never been used since the original commit 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 driver"). The comment above it is a copy-and-paste from a different struct. Remove both the struct and the comment. Signed-off-by: Dr. David Alan Gilbert --- drivers/staging/iio/addac/adt7316.c | 8 -------- 1 file changed, 8 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 79467f056a05..23d036d2802c 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -209,14 +209,6 @@ struct adt7316_chip_info { #define ADT7316_TEMP_AIN_INT_MASK \ (ADT7316_TEMP_INT_MASK) -/* - * struct adt7316_chip_info - chip specific information - */ - -struct adt7316_limit_regs { - u16 data_high; - u16 data_low; -}; static ssize_t adt7316_show_enabled(struct device *dev, struct device_attribute *attr, -- 2.45.1