Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp748064lqb; Wed, 29 May 2024 09:21:04 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCX98SO3eWB6pUQoIQ8fUOTrZakncf2hmhZxLK8Q5FdW84veVBeOeAXy/PnQ3Qalo77+ofLaYjLwtq0RP8Y3smqLfnOuRj9WbQpa1occLA== X-Google-Smtp-Source: AGHT+IG71F6r4005/yUJjIeolNtBdL8qPu8B+eppV8OwOz2aPV7T9cf0AMePsvKEQyj3fMP5gjVM X-Received: by 2002:a17:90a:8585:b0:2bf:f248:3506 with SMTP id 98e67ed59e1d1-2bff24835b8mr7037802a91.12.1716999664249; Wed, 29 May 2024 09:21:04 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716999664; cv=pass; d=google.com; s=arc-20160816; b=cQfzXE4Bm260/TWKbETNwIXcGQKg4CntBSKZ/8Mb7XgL5c0vtLQapOIAZg04WKg0WD x1g6ohIaLpKIzGrsz8UILEAgXhM+uT7wD/9o9x2qnR540WiAxuuJDsisUnQTybHQxHh3 FsN8HY6y3e8Es87RWZBO2TNFTlxvhkjFJXam96gqWlRDGVKaciQocM21VCKMp4kInRDV hTZTHQipjvspGUCRCo3Nv0BD0fTAr6p+lvhTG5fh/cPvUHQAoT6sB8vdu0XlN6Sx5jDx +6si5JvZRH1BAJidxmh+XOJuAP+mvN3k4W07CQDU2Vsd07ldFlYokBMAs+tF66G3EThP c/qg== 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=M5Nz3BqUa1y4XSY54BZ8kmjB0E40UEGATmY0vXCaUd4=; fh=M08LOXoLXpwP6ndBGvos+kUouyfVavylmkJ8WVwSbF0=; b=ttS5ppWMuFnCl9xnW9kVwb02T+VNPlABNEeI45Usd+nN6pJa0bObc2Cv8FOwhDKy46 v3AhougVH0yZqoIPFjaFtoZ0yXmo4jJl+If0fuCRHViBgqxW1eddOzXKxk+l77QmHUe1 w1Ua2KpxV83TuzmrJLi1oYhrUMc5s5AMXUQdWBF8LZ6szMjM+sBKh/GBi81xxWsId5VH sRCWRlNZzmH9CdkltBmh4IOjkms+2uqE86iUIoHNesM2vxQ9tHhpjtoAwtr56gwML5GA rWPJNlk8f/RUuKftjQAOmGUblAKKByM9Fkhmg/jV3jqegICgBNSJVPxiigarO5EZKR8h GYDA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=gwhAYFx2; 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-194404-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194404-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 98e67ed59e1d1-2bf5fe34d7dsi10049384a91.90.2024.05.29.09.21.03 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 09:21:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194404-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=gwhAYFx2; 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-194404-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194404-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 D1142B25E48 for ; Wed, 29 May 2024 16:01:26 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 051A61836E9; Wed, 29 May 2024 16:01:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="gwhAYFx2" 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 D7A1E137932; Wed, 29 May 2024 16:01:03 +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=1716998466; cv=none; b=d+EqA8vBjZc4E7ceizCRwmyMDjIOagG0hq5uYTv3SLTeQ4W+wgVF7CPs2527Qkg9kWNnuscbwm3pM3riryBG8M+81XTuGXqefTzEQPRn7gIWdZA+lyX+7HoEWtogOxgIQe6X5882G+Fl6DR54wOA37LtItw+8JYWUzetRvIScKI= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716998466; c=relaxed/simple; bh=v6b5lEqbop3TeCHYdro614L2c+/qdsnDGzEng//zdgI=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=XpTY5FMfWLg1RkWY9uG3D8SeKvzXoeqGh31uINk6UJP3zl5qBSrcCnpSUTpdXcuAP0sP/F2qqiZB8z7p1KmACPhofGdyLb/pxGfJ863Cw78FHHuWduFS7cPKV9PjPlpkkApJBxHSnCtn42c9wT+xx31YGfA1btaNV/0KF80JyxU= 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=gwhAYFx2; 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=M5Nz3BqUa1y4XSY54BZ8kmjB0E40UEGATmY0vXCaUd4=; b=gwhAYFx2HtC0zsvG zs1OW+Q8Ty+uhFuGWN4fdgmh9Fd4MO9ygl2soP+pHZm0QsbxIgIAM68VrLTn7F9UboGGByt65SbBa wV7lim44EXgg7QPDnfj5Q9RPrsoGCRTHVo0nuyfTu5x6leCiUeU0IWUZwADXU2lgeSsMgReeT7DPA ExEAP9VuMvFudULPnqAfYCZqmjtAZOHG2ntVv7rus9ZDiOA/9lbdQOP5X0pIZnolDoD7jjEc0mUGN Ty/yyN098HsZjGkOTPmVqor+SUPP1Ps6jrOA9U0/wXwTFhZ4LduXZwIxiLTG9UFmKmQqKD1ZvADqG frpex5zdKMh03uY6YQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1sCLjU-003DqX-0B; Wed, 29 May 2024 16:00:56 +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 v2] staging: iio: adt7316: remove unused struct 'adt7316_limit_regs' Date: Wed, 29 May 2024 17:00:55 +0100 Message-ID: <20240529160055.28489-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 | 9 --------- 1 file changed, 9 deletions(-) diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c index 79467f056a05..f4260786d50a 100644 --- a/drivers/staging/iio/addac/adt7316.c +++ b/drivers/staging/iio/addac/adt7316.c @@ -209,15 +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, char *buf) -- 2.45.1