Received: by 2002:ab2:7903:0:b0:1fb:b500:807b with SMTP id a3csp161250lqj; Sat, 1 Jun 2024 12:24:48 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCW/QS8AuGlMEXJtTynDtE0kc6Uv6lYaipSY/cE2I7sazYV31Ix7oK7KJI8Ax6+S8o2e+WPlasXIDn9CPewURf7YGOxoOYWg6AlPyBEMgg== X-Google-Smtp-Source: AGHT+IHpOvrScEdghtNMsNu1RhilGlRkERRy/rIRdq76UkX7TzUTQLffw0iBwK6SS4kuI4T/159Z X-Received: by 2002:a05:622a:2d3:b0:43a:9cd3:7fed with SMTP id d75a77b69052e-43ff5250907mr44887051cf.17.1717269887801; Sat, 01 Jun 2024 12:24:47 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717269887; cv=pass; d=google.com; s=arc-20160816; b=J9LBi5woZy2kN+oHb5imYrslP5GNzKs2D6JTtisdInbk66nqVGt0bJwCvz7iYnm07q M8A5XuXI2rp5BKU0CPyi94nr1J1bWQxcdZdOmcnB4h4CVFhv+T9zxq00eB0z7z5SRShc Dzh1U8HvJLIAJV8vPCnmguBWgCG58V0HthS9tST63BAj/RrxpmK02+snyx15k4PCyS/x niYU6D9tu3rD2ZjQIf/ojgjoKSbgOkNX58FJtQ5dekDuxG8vBVddk8aVTb+0g45ITC/X 1Xx5M4RzAh+e2g8pmWcKqbSxf76WN18nf0yEVx+qm1ZeVxMavrdoCa3fvbh3vg0Mv8eb LA1Q== 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 :subject:cc:to:from:date:dkim-signature; bh=D8VbQ5DsrBFJve9I1RCO6gPuQdJXheZCjZ9lTjOwUhA=; fh=NJJU1/cs6/+P1WtFXaXBCheu/uSzrK1AK7NM1EZbPaE=; b=ycENwhLD05tdSyJEhidSWTTkxfy9xRnvhgDAQF9mNE8WLwX8rZPqhudE8HG+a6rlig S1YwQZWXkawPRn9PnymSn97xd7jS9XGPUT3JMAUm1xoToKtm4NPsYlezX+yXv07jq8Dz B5UOHIqmR1iZj9+vAtKborSoXQwso//K2KAbuN7Z9HfsnT1R2C71JvvJliLAMh6tFrm2 zcixSLeiTQg+SUgyfOcCaccKl713sp8+68f2seN1stKKTTqePAtwIbdu7nW5ZVBKlJFt HKuDsZmCj8EYk76SCq0nNDNHdq7zVzbmVc5MVqTQzLWthlXAaUOckXtDOg4OFWKI9E9m Q3aw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=abna+zd2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id d75a77b69052e-43ff258434csi44802881cf.542.2024.06.01.12.24.47 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 01 Jun 2024 12:24:47 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-197992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=abna+zd2; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-197992-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-197992-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.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 7FD501C20A16 for ; Sat, 1 Jun 2024 19:24:47 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 65173154C15; Sat, 1 Jun 2024 19:24:40 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="abna+zd2" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 8389A171A5; Sat, 1 Jun 2024 19:24:39 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717269879; cv=none; b=b/AXFAD/5uq7gUU+pvMjaNc2bT4g8VdU4FCZ9XfHqLtApsF6fXGJMY5XSLrYPjxAXbqX2eEyw4ODRXyanhOtAYDrVYj+XEqMchpJpsc+ywWcM/YQbf8t0C8xRUXzeXvygz0CetzRAC+BeDhKyijjJ+4bN3ikkyiWYomykMQ9uaQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717269879; c=relaxed/simple; bh=lJsSCZd98JRXceVU+lNuxRSqXxc0iQ2E6diITqpWoGY=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=entFIAt+bcAnWr6O4D6J4SwoMhD55RDoRXvxYoCalVKtq45LPARUOZajiBxutbdD2ARE7TwzhC0ynAHk4THGqUpe4XzQiGQcumXkQrsoo1yLrsiKcLYY1aCgxtqoCP3cEXAlG8nQpocqSgkQhr0yf7GTWDuWB4A/AfYW1afBeiM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=abna+zd2; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4829FC116B1; Sat, 1 Jun 2024 19:24:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1717269879; bh=lJsSCZd98JRXceVU+lNuxRSqXxc0iQ2E6diITqpWoGY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=abna+zd2u9t/Q0MDsblVaYLJ//OznWHXRywOnSKJ/3LPDRC/L0xt0STFav3miY0uI j6Qgh2gkf7aTgXhzfB5bXUtsgJz8WNZ9ztQv392bKltsrbstYoracJiYO7Dc3Tw5As 2wdzRJLuuyvCqHLiXoVF6cX/2sJvqZKpWIZpHP9bqZZmC+s7e9mLrHL2X8Xpll7NBL 0AUEfZv7V+Py2rhxnalDYGMCXdSH2qGTu93gOP/1A5vWDMyCc3e/yZP5lPaweXbei4 bJKkoMoxdRETJ6hztUbjkw3fCpjSIgY8Wsf5HAjvEHZOjnmRj3Yuif0WNFJgfLr6eM 2BbjNU/I2rLGA== Date: Sat, 1 Jun 2024 20:24:26 +0100 From: Jonathan Cameron To: Greg KH Cc: linux@treblig.org, 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: <20240601202426.0f667a0d@jic23-huawei> In-Reply-To: <2024053049-repossess-moonwalk-4235@gregkh> References: <20240529160055.28489-1-linux@treblig.org> <2024053049-repossess-moonwalk-4235@gregkh> X-Mailer: Claws Mail 4.2.0 (GTK 3.24.42; x86_64-pc-linux-gnu) 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=US-ASCII Content-Transfer-Encoding: 7bit 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. 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