The Linux Kernel Mailing List
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Nuno Sá" <noname.nuno@gmail.com>
Cc: "David Lechner" <dlechner@baylibre.com>,
	"Michael Hennerich" <Michael.Hennerich@analog.com>,
	"Nuno Sá" <nuno.sa@analog.com>,
	"Andy Shevchenko" <andy@kernel.org>,
	linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 0/2] iio: adc: ad7124: drop nr field
Date: Sat, 20 Sep 2025 12:04:04 +0100	[thread overview]
Message-ID: <20250920120404.6af20b23@jic23-huawei> (raw)
In-Reply-To: <f2eb2424e4b3fc787d1f20b17852e97b1a708cc8.camel@gmail.com>

On Thu, 18 Sep 2025 11:25:27 +0100
Nuno Sá <noname.nuno@gmail.com> wrote:

> On Wed, 2025-09-17 at 15:39 -0500, David Lechner wrote:
> > The motivation behind this series was to remove the `nr` field in struct
> > ad7124_channel since it is duplicating the same value as struct
> > iio_chan_spec.address (and duplicated again by .scan_index).
> > 
> > When it came to actually doing that though, I found that it was easier
> > to first clean things up by removing the ad7124_enable_channel()
> > function - which is a nice cleanup by itself. So ended up with 2 patches
> > that end with the same result without ever mentioning the duplication.
> > 
> > ---
> > David Lechner (2):
> >       iio: adc: ad7124: inline ad7124_enable_channel()
> >       iio: adc: ad7124: remove unused `nr` field
> > 
> >  drivers/iio/adc/ad7124.c | 19 ++++++-------------
> >  1 file changed, 6 insertions(+), 13 deletions(-)
> > ---
> > base-commit: 561285d048053fec8a3d6d1e3ddc60df11c393a0
> > change-id: 20250917-iio-adc-ad7124-drop-nr-field-518102218a61
> > 
> > Best regards,  
> 
> Reviewed-by: Nuno Sá <nuno.sa@analog.com>

Applied to iio.git/testing

Thanks

J

      reply	other threads:[~2025-09-20 11:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-17 20:39 [PATCH 0/2] iio: adc: ad7124: drop nr field David Lechner
2025-09-17 20:39 ` [PATCH 1/2] iio: adc: ad7124: inline ad7124_enable_channel() David Lechner
2025-09-17 20:39 ` [PATCH 2/2] iio: adc: ad7124: remove unused `nr` field David Lechner
2025-09-18 10:25 ` [PATCH 0/2] iio: adc: ad7124: drop nr field Nuno Sá
2025-09-20 11:04   ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250920120404.6af20b23@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy@kernel.org \
    --cc=dlechner@baylibre.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=noname.nuno@gmail.com \
    --cc=nuno.sa@analog.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox