Received: by 2002:a05:6500:1b8f:b0:1fa:5c73:8e2d with SMTP id df15csp562121lqb; Wed, 29 May 2024 04:25:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCXAKUJpi74kioGGUJ/A0OFxO+F4hVLEA2Feu+rJR7bQV9Pst9zx0sbl7AiLHUYcNUSdckli2kU1Gprk0UXEKScarFz0wUxTmzJ3PkA8EA== X-Google-Smtp-Source: AGHT+IGST30ni8hKP8SxOZ3P67QbS5QhlNVGEQWsgrTmzS1q4QQt7ahLnnFNTCqHHnl6ZUDsvic7 X-Received: by 2002:a05:6e02:1a4b:b0:374:773d:96f2 with SMTP id e9e14a558f8ab-374773d9716mr8197505ab.14.1716981920207; Wed, 29 May 2024 04:25:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1716981920; cv=pass; d=google.com; s=arc-20160816; b=T4rCDmLm2XhM4VsRN6smBshyWXwRGD/6g5vfauoPBUM4nAKUaKXIrOy8Q2/G2un+Xg Yf+Vjqn+IsHKPvmd5tmUrSXSoggPsh68sNzJKu4ooLtlbAF67/KA1PVGlbXKdPQysxAH 2X3bom+ncgIcz+a7EMknLrVmdJfVhG1PgIrKEPMzclWaySIOh8mKHEyhyXzpwwww6ZbC 3fbBLfK/gR4Mvh9umADV5yjYbj4EK1RDaFmyCq/PwgZtHJwd0sZCn30zOYagzUqS5aaZ UcbgEhYJEI/URK60RYw+QFclhFcaSacrve0nZPxAzD+dTHAQ8u82qR55E0AzvE1FiQb3 Fp+Q== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:references:in-reply-to:date:cc :to:from:subject:message-id:dkim-signature; bh=n5uEzMRdxtO7RULJZB7deduoIw+Y3iKQ4EZq8+uKKOA=; fh=3+KP0EdMfe9FOp6qdqhccSixdDCLSmqSxB/Ds9Gh/YU=; b=krWdQQRARHwKSTxRSVeS//2cOdD7JWP4R87uVj1auHowXS5SDkTpZbh+I7w/Q3O8oE WKt38VhBuS/wbl05GkTobmQ0JcL0Fb7mjUlQRwxgv0S6FW5XviD3jmEc7cg3grTOjaIY BUj8Mndq7EAJcMVsqmgxOTkWdtspSh7Q7F3DKesW99q4oDJn59GmjB0EkglQbjTAEmxb t6iVbX9RCBmzsMVCrzOq8uDUrzpYSCxzwB6Cjt5kdwr7HX5pCOwUslXxtPmGo2osOOsR Knd+GKR8pAT2zIMOJt60qkUt9gJnJT4+kBxik5nWmyyjv5SeekOo8YnJOQaUjfSvUYvw qLcQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nWCiGihk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id 41be03b00d2f7-6822779bf28si10123178a12.420.2024.05.29.04.25.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 04:25:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-194017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=nWCiGihk; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com dmarc=pass fromdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-194017-linux.lists.archive=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-194017-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com 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 sv.mirrors.kernel.org (Postfix) with ESMTPS id B17F628859C for ; Wed, 29 May 2024 11:25:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 47184180A62; Wed, 29 May 2024 11:25:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="nWCiGihk" Received: from mail-lj1-f182.google.com (mail-lj1-f182.google.com [209.85.208.182]) (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 D39DD1802CB; Wed, 29 May 2024 11:25:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716981904; cv=none; b=O6wvBEVbH0AUyvdaH7qvnFcFSeW5oKbduLgraHOljM+VGK6SGXqk2qonLZONUCqvp475hlm7SK35/cHthRONTRgNVCXjisws7cY3Inw+7LXhFTDW+S7On5DmOhVwck9l0U8+4zsHbVgZqRSOSGrLi2uYXtFgEAAGY6xJFB1yWUc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1716981904; c=relaxed/simple; bh=TzZQrzj+WOG1xkO/GYUZ4HiFLMiivXVoPSh1a4x0Q04=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=Cl3+hyZPg2YTyW3G9IAoyrvNv49oIW3a/Nrg2liSL51PstGemF5lr97tdXm88+Luvg4E7Z6RRrHsPvzIHzYw9Xkh9lUztEjV/LKdKxQfsSQw5dEzAXO18RgLGeyacVTiJqEHxF5itHDkVbRMwH79grEEt3QGzJ0BL2QzdZhNLnA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=nWCiGihk; arc=none smtp.client-ip=209.85.208.182 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f182.google.com with SMTP id 38308e7fff4ca-2e95a1d5ee2so1019651fa.0; Wed, 29 May 2024 04:25:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1716981901; x=1717586701; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:from:to:cc:subject :date:message-id:reply-to; bh=n5uEzMRdxtO7RULJZB7deduoIw+Y3iKQ4EZq8+uKKOA=; b=nWCiGihkAaNbGw7J6WSCHUCT+oArcKhNmrx1SfU0glADSHBFulm7SjHtf+pexR2ZqW 0KQ3eAlHpamNcs+ms5QrVagO3U6L607Lle94gg9x0HmhgX/Bx0YKA7wvMojfI+8z3UFJ W61+wvANKzUFplphP+h9De31dwwYfIWuEg4UFhCeSPbP5dYZeKwNsSHvl3+SJWzmcfb3 7n+CFaDgYadE3qeyTpCixUyC8ZLIv3cDmmX7QYiJREnsdPkmn3ULtKWO3yRGpnPgNpDg MXjQ2Shux4JNklJVW4iuFGFRYW7hi92c2MjglSf8FAE9YzSwcHCgj7oSBHKrwrFaelWp IHJA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1716981901; x=1717586701; h=mime-version:user-agent:content-transfer-encoding:references :in-reply-to:date:cc:to:from:subject:message-id:x-gm-message-state :from:to:cc:subject:date:message-id:reply-to; bh=n5uEzMRdxtO7RULJZB7deduoIw+Y3iKQ4EZq8+uKKOA=; b=BsHgWCAUm7luZu8POLkxGCkAK8nwjwonSaNV3Ii8WKkjhzI/Jhx9Yb0xLCS/R5lmHu PGI3eyoJzgp/zDwcKQWFrzKiBCLGGJDWisyQGJhtogLf+8wNCUY2U7JTEXLfdUPtIpch eQJJf051MS6oi/iwLdRDxJ6UP7ZKbRU5W3snJUKgtkRKopaVw/Fx7eRLZLOzNIyC8fgs a/xhbARwvsaK72tRNmB3h0DH7ysnosIxCmFlIedGGX699pUmjr+lzxyG8MgBNkivYyPP yW9L8RCPzoDifXh4qqM78rUHMC1TC1/VzjGvGWPn59OjtTgLc69i1ghBTZi5IDxaJtIq kWeg== X-Forwarded-Encrypted: i=1; AJvYcCWu0DEApheNN8kCnvWrX7eRzYBk48kWeG/NSv7dkTE6lgw944DPZaSr89+oaEV5XtmlphrP7urH7+eDreqkXoEaovj7k+RxL8cNUnQs X-Gm-Message-State: AOJu0Ywez/PiS+a2cjvsovcHOvIzvB3qEQI7UYapx0y3ldQo4lS5IeA0 t0ifapZ7pvTgp6ISe0wKBcpid5H3oJJ0eGvemP/Z9dnscRE48SMG X-Received: by 2002:a2e:9810:0:b0:2ea:7d9f:8f62 with SMTP id 38308e7fff4ca-2ea7d9f917bmr10742401fa.10.1716981900672; Wed, 29 May 2024 04:25:00 -0700 (PDT) Received: from nsa.fritz.box ([2001:a61:35f9:9001:40df:88bb:5090:7ab6]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a626cc8c287sm710848966b.162.2024.05.29.04.25.00 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 29 May 2024 04:25:00 -0700 (PDT) Message-ID: <23d5359dca83dd803655b0990479f6fb0eadc61c.camel@gmail.com> Subject: Re: [PATCH] staging: iio: adt7316: remove unused struct 'adt7316_limit_regs' From: Nuno =?ISO-8859-1?Q?S=E1?= To: linux@treblig.org, 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 Date: Wed, 29 May 2024 13:24:59 +0200 In-Reply-To: <20240528233008.191403-1-linux@treblig.org> References: <20240528233008.191403-1-linux@treblig.org> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.1 (3.52.1-1.fc40) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-05-29 at 00:30 +0100, linux@treblig.org wrote: > From: "Dr. David Alan Gilbert" >=20 > 'adt7316_limit_regs' has never been used since the original > commit 35f6b6b86ede ("staging: iio: new ADT7316/7/8 and ADT7516/7/9 > driver"). >=20 > The comment above it is a copy-and-paste from a different struct. >=20 > Remove both the struct and the comment. >=20 > Signed-off-by: Dr. David Alan Gilbert > --- Reviewed-by: Nuno Sa > =C2=A0drivers/staging/iio/addac/adt7316.c | 8 -------- > =C2=A01 file changed, 8 deletions(-) >=20 > 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 { > =C2=A0#define ADT7316_TEMP_AIN_INT_MASK \ > =C2=A0 (ADT7316_TEMP_INT_MASK) > =C2=A0 > -/* > - * struct adt7316_chip_info - chip specific information > - */ > - > -struct adt7316_limit_regs { > - u16 data_high; > - u16 data_low; > -}; > =C2=A0 > =C2=A0static ssize_t adt7316_show_enabled(struct device *dev, > =C2=A0 =C2=A0=C2=A0=C2=A0 struct device_attribute *attr,