Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: "Sa, Nuno" <Nuno.Sa@analog.com>
Cc: "linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	Phani Movva <Phani.Movva@imgtec.com>,
	Naidu Tellapati <naidu.tellapati@imgtec.com>
Subject: Re: [PATCH 0/5] iio: adc: cc10001: Devm conversion
Date: Sun, 6 Nov 2022 11:48:53 +0000	[thread overview]
Message-ID: <20221106114853.08a2ceac@jic23-huawei> (raw)
In-Reply-To: <SJ0PR03MB67785AB3EBAF51E84687F31499379@SJ0PR03MB6778.namprd03.prod.outlook.com>

On Mon, 31 Oct 2022 11:19:19 +0000
"Sa, Nuno" <Nuno.Sa@analog.com> wrote:

> > -----Original Message-----
> > From: Jonathan Cameron <jic23@kernel.org>
> > Sent: Saturday, October 29, 2022 2:44 PM
> > To: linux-iio@vger.kernel.org
> > Cc: Jonathan Cameron <Jonathan.Cameron@huawei.com>; Phani Movva
> > <Phani.Movva@imgtec.com>; Naidu Tellapati <naidu.tellapati@imgtec.com>
> > Subject: Re: [PATCH 0/5] iio: adc: cc10001: Devm conversion
> > 
> > [External]
> > 
> > On Sun, 16 Oct 2022 18:09:45 +0100
> > Jonathan Cameron <jic23@kernel.org> wrote:
> >   
> > > From: Jonathan Cameron <Jonathan.Cameron@huawei.com>
> > >
> > > A very simple example of how using devm_ managed calls for everything
> > > can reduce complexity error handling and removal ordering in a driver.
> > >
> > > Note I don't have one of these to test so if anyone has a chance to do
> > > so or give these a quick look at that would be much appreciated.
> > > Note this is a fairly old driver, so relative unlikely original authors
> > > still have access.
> > >
> > > Cc: Phani Movva <Phani.Movva@imgtec.com>
> > > Cc: Naidu Tellapati <naidu.tellapati@imgtec.com>  
> > 
> > If anyone has time for a quick glance at this it would be much appreciated!
> > 
> > Old maintainer issue of who is the fall back reviewer for the maintainers
> > own patches to old drivers, where the authors etc have probably long since
> > moved on.
> > 
> > Jonathan  
> > >
> > > Jonathan Cameron (5):
> > >   iio: adc: cc10001: Add local struct device *dev variable to avoid
> > >     repitition
> > >   iio: adc: cc10001: Add devm_add_action_or_reset() to disable
> > >     regulator.
> > >   iio: adc: cc10001: Use devm_clk_get_enabled() to avoid boilerplate.
> > >   iio: adc: cc10001: Use devm_ to call device power down.
> > >   iio: adc: cc10001: Switch remaining IIO calls in probe to devm_ forms.
> > >
> > >  drivers/iio/adc/cc10001_adc.c | 89 +++++++++++++----------------------
> > >  1 file changed, 34 insertions(+), 55 deletions(-)
> > >  
> 
> Only minor comments, so feel free to add:
> 
> Reviewed-by: Nuno Sá <nuno.sa@analog.com>

Tweaked as suggested whilst applying.  Thanks!

Applied to the togreg branch of iio.git and pushed out as testing for all the
normal reasons.

Thanks,

Jonathan

      reply	other threads:[~2022-11-06 11:49 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-16 17:09 [PATCH 0/5] iio: adc: cc10001: Devm conversion Jonathan Cameron
2022-10-16 17:09 ` [PATCH 1/5] iio: adc: cc10001: Add local struct device *dev variable to avoid repitition Jonathan Cameron
2022-10-16 17:09 ` [PATCH 2/5] iio: adc: cc10001: Add devm_add_action_or_reset() to disable regulator Jonathan Cameron
2022-10-16 17:09 ` [PATCH 3/5] iio: adc: cc10001: Use devm_clk_get_enabled() to avoid boilerplate Jonathan Cameron
2022-10-31 11:19   ` Sa, Nuno
2022-10-16 17:09 ` [PATCH 4/5] iio: adc: cc10001: Use devm_ to call device power down Jonathan Cameron
2022-10-16 17:09 ` [PATCH 5/5] iio: adc: cc10001: Switch remaining IIO calls in probe to devm_ forms Jonathan Cameron
2022-10-31 11:17   ` Sa, Nuno
2022-10-29 12:43 ` [PATCH 0/5] iio: adc: cc10001: Devm conversion Jonathan Cameron
2022-10-31 11:19   ` Sa, Nuno
2022-11-06 11:48     ` 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=20221106114853.08a2ceac@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Nuno.Sa@analog.com \
    --cc=Phani.Movva@imgtec.com \
    --cc=linux-iio@vger.kernel.org \
    --cc=naidu.tellapati@imgtec.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