All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Sa, Nuno" <Nuno.Sa@analog.com>
To: Jonathan Cameron <jic23@kernel.org>,
	"linux-iio@vger.kernel.org" <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
Date: Mon, 31 Oct 2022 11:19:19 +0000	[thread overview]
Message-ID: <SJ0PR03MB67785AB3EBAF51E84687F31499379@SJ0PR03MB6778.namprd03.prod.outlook.com> (raw)
In-Reply-To: <20221029134331.52adcda1@jic23-huawei>



> -----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>

  reply	other threads:[~2022-10-31 11:19 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 [this message]
2022-11-06 11:48     ` Jonathan Cameron

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=SJ0PR03MB67785AB3EBAF51E84687F31499379@SJ0PR03MB6778.namprd03.prod.outlook.com \
    --to=nuno.sa@analog.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Phani.Movva@imgtec.com \
    --cc=jic23@kernel.org \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.