Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp184750lqj; Sat, 1 Jun 2024 13:51:13 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWT13Mju57EAkDhL7g3gt8VbEpxoXUU2WLTQEzLE38HTisTU/+ydhgOW7Ru533LhIkOxA89eIPoEaGvTCTzp/vbUMVzmWPtbQ8NLEXzgg== X-Google-Smtp-Source: AGHT+IEKn6GdHJpAczmJHB6DYQTLySEDII9Pdg/wem2Oji+QIOFaIxb2DKmp9dE5dWet1lVI31tR X-Received: by 2002:a67:e919:0:b0:48b:ba90:da3d with SMTP id ada2fe7eead31-48bc21cc35fmr5328112137.17.1717275073183; Sat, 01 Jun 2024 13:51:13 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717275073; cv=pass; d=google.com; s=arc-20160816; b=VzcK8+UJUjKs2p8FsMvzVmO8vy+rzH6IeVQ4y0MCUSecwHz92S2cqeaTi0UEGUNeaK AvmnBTRey20kUj8DA/ZI0+A/7JxmtVybjlRBtTNJRfkOv0RqtNrxqiBB1jFofvgBu3/9 XTrlX7guSQcQK1jGfF2CZwdwVYDdJXkvYGzIt/Dfop/trelSum2VaS4hEvK0y4aa+Ett mu+RaWNkU30LkfWDlnlyW3BDlVkCBhee+svRF7wkEudrAQ/KK7tq5+eQQNMkB1iY8d21 phAo74y4tjL9xf9cpxgCe3YiSsgnVle8HGMqSvW8FIUYaGS/a88Cr68e+IvcJT3FNqVq 3MGw== 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=WscMFS7a4CeJw0zsLY2pLYSCPzFoN90vk/QWypLw3pM=; fh=Fk/BBSEHJ/YQfxT7Crltxt9kMA/3Aplluvy9+ScJGm4=; b=FazSzgXxkn1sGonNuhhLTw7XxTPv6dqaff5T6VgTOumfEMRpySIW6TEURK3lKZMvz+ 0ifI9goJTfys3f72zNIuKmaku21nuw485pEQfrks39er6ljTYHnNr2YkGwq9Q/l1ry7+ Kei6B1cPuKtU9ahGslnpdCeVXVJdDMVzcUECuCgEKb7jBNoOrTYN96gBYAjKGT8PfzVW KQYyWSCBa1LJlP0+4NuWUh4JD59tmyfAoc+8ELeH2A1M8KoVcIud9NdJw2Y7PJZCLTiA 1CMbmvQ1oAmB8EtAbg8Jlo+DZ23QAJj6tIu+Qt4uiMCg6FYvKkqcsAHSljXifiUyA4R8 rydQ==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@treblig.org header.s=bytemarkmx header.b=AY1J70zv; 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-198004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198004-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 af79cd13be357-794f3062989si565021285a.246.2024.06.01.13.51.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 13:51:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-198004-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=AY1J70zv; 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-198004-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-198004-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 E1FF91C20BA2 for ; Sat, 1 Jun 2024 20:51:12 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id E66F91D545; Sat, 1 Jun 2024 20:51:05 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="AY1J70zv" 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 484BA1CAA6; Sat, 1 Jun 2024 20:51:02 +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=1717275065; cv=none; b=njmk14sppV/IIFPSpFevC9hAXfEz7YIeOiWesZtRF1390IT+5z7f98x4ZstWSyFi0vRkDoyzbxRN/C6Rq7XPL81c1usOHoEA/9kM4b+X/23eEW8WFEPylUOkZctWZo4h8MUtaBnuX4Bcmfvpqgo+RtNtQPKUphydIBLUQYxgVUE= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717275065; c=relaxed/simple; bh=NP/r89WxcSHiG32+OPN4wVDkmqX2CPWxzvihewvyHAE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=TQ3dgQbFXlHdGtsNJU9FmGP0/rdopsn5Uw2R1UFwQ2YomXkwXozJLpfXSZuB3gcpjtj+zQD4/59x7yneyFKkAE2XXPSvyvboZBgHUDIyFDO37abTOkTTkO4/DdLusJIZyj02tmWxhTHoD/ANTO7Yfi+IyhH0veshS+e451FVO00= 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=AY1J70zv; 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=WscMFS7a4CeJw0zsLY2pLYSCPzFoN90vk/QWypLw3pM=; b=AY1J70zvdlqs7izN VcbE9s52IV9X9U7B+mp/1LMrAFAjZ9QleqdE5W9tZwOqKw0cwYp+YuQcDsW5ZQBvgCCJFCLjk5V4v kOszt8wtTi3n4VPIHnk2FlU6T4MrGPRakY914LVDg1/r3Zv8PrhtCLZ72/nmp+mK8p3bORW7asCeW nSY1qiMGYytIzM/J80tcko6xVAT4ohBHb98Oz+xVS6/NrJ5oFmNXiQTF3X7yl7uvWlc+tKulSsOsl sjGxRqoLzH8qsEwbJRKfqs9EweTyzl/IWJcceeyPsB3j+g9E+NeHXBGo2MsqkUs6UgmKOMQ1zU18t RzyUrBTmyqcbsjESBg==; Received: from dg by mx.treblig.org with local (Exim 4.96) (envelope-from ) id 1sDV0s-003l0n-1I; Sat, 01 Jun 2024 20:07:38 +0000 Date: Sat, 1 Jun 2024 20:07:38 +0000 From: "Dr. David Alan Gilbert" To: Jonathan Cameron Cc: Greg KH , lars@metafoo.de, Michael.Hennerich@analog.com, linux-iio@vger.kernel.org, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH v2] staging: iio: adt7316: remove unused struct 'adt7316_limit_regs' Message-ID: References: <20240529160055.28489-1-linux@treblig.org> <2024053049-repossess-moonwalk-4235@gregkh> <20240601202426.0f667a0d@jic23-huawei> 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: <20240601202426.0f667a0d@jic23-huawei> X-Chocolate: 70 percent or better cocoa solids preferably X-Operating-System: Linux/6.1.0-21-amd64 (x86_64) X-Uptime: 20:07:26 up 24 days, 7:21, 1 user, load average: 0.00, 0.00, 0.00 User-Agent: Mutt/2.2.12 (2023-09-09) * Jonathan Cameron (jic23@kernel.org) wrote: > On Thu, 30 May 2024 11:45:03 +0200 > Greg KH wrote: > > > On Wed, May 29, 2024 at 05:00:55PM +0100, linux@treblig.org wrote: > > > 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 > Greg's bot is correct, but meh, not worth a v3. > > I picked up Nuno's tag from v1 though. I don't think that came > in after you'd sent this, so I guess you missed that one. > > Applied. Thanks! Dave > Jonathan > > > > --- > > > 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 > > > > > > > > > > Hi, > > > > This is the friendly patch-bot of Greg Kroah-Hartman. You have sent him > > a patch that has triggered this response. He used to manually respond > > to these common problems, but in order to save his sanity (he kept > > writing the same thing over and over, yet to different people), I was > > created. Hopefully you will not take offence and will fix the problem > > in your patch and resubmit it so that it can be accepted into the Linux > > kernel tree. > > > > You are receiving this message because of the following common error(s) > > as indicated below: > > > > - This looks like a new version of a previously submitted patch, but you > > did not list below the --- line any changes from the previous version. > > Please read the section entitled "The canonical patch format" in the > > kernel file, Documentation/process/submitting-patches.rst for what > > needs to be done here to properly describe this. > > > > If you wish to discuss this problem further, or you have questions about > > how to resolve this issue, please feel free to respond to this email and > > Greg will reply once he has dug out from the pending patches received > > from other developers. > > > > thanks, > > > > greg k-h's patch email bot > -- -----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 |_______/