devicetree.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Baolin Wang <baolin.wang@linaro.org>
Cc: Jonathan Cameron <jonathan.cameron@huawei.com>,
	Rob Herring <robh+dt@kernel.org>,
	Mark Rutland <mark.rutland@arm.com>,
	Hartmut Knaack <knaack.h@gmx.de>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Peter Meerwald-Stadler <pmeerw@pmeerw.net>,
	freeman.liu@spreadtrum.com, Mark Brown <broonie@kernel.org>,
	DTML <devicetree@vger.kernel.org>,
	linux-iio@vger.kernel.org, LKML <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support
Date: Sun, 24 Jun 2018 14:30:09 +0100	[thread overview]
Message-ID: <20180624143009.48cf14f8@archlinux> (raw)
In-Reply-To: <CAMz4kuJUeDjTVJqNc4cNv=LwR1HkuFap4vBF7CCcrxNqnTHa-A@mail.gmail.com>

On Sun, 24 Jun 2018 17:13:00 +0800
Baolin Wang <baolin.wang@linaro.org> wrote:

> Hi Jonathan,
> 
> On 22 June 2018 at 22:13, Jonathan Cameron <jonathan.cameron@huawei.com> wrote:
> > On Thu, 21 Jun 2018 11:14:05 +0800
> > Baolin Wang <baolin.wang@linaro.org> wrote:
> >  
> >> From: Freeman Liu <freeman.liu@spreadtrum.com>
> >>
> >> The Spreadtrum SC27XX PMICs ADC controller contains 32 channels,
> >> which is used to sample voltages with 12 bits conversion.
> >>
> >> [Baolin Wang did lots of improvements]
> >>
> >> Signed-off-by: Freeman Liu <freeman.liu@spreadtrum.com>
> >> Signed-off-by: Baolin Wang <baolin.wang@linaro.org>  
> >
> > One trivial missed bit of cleanup inline.  I'll sort that
> > when applying if no one else points anything out before I get back to my
> > development machine.  
> 
> Thanks.

Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to play with it.

Thanks,

Jonathan

> 
> >> +
> >> +     indio_dev->dev.parent = &pdev->dev;
> >> +     indio_dev->name = dev_name(&pdev->dev);
> >> +     indio_dev->modes = INDIO_DIRECT_MODE;
> >> +     indio_dev->info = &sc27xx_info;
> >> +     indio_dev->channels = sc27xx_channels;
> >> +     indio_dev->num_channels = ARRAY_SIZE(sc27xx_channels);
> >> +     ret = devm_iio_device_register(&pdev->dev, indio_dev);
> >> +     if (ret) {
> >> +             dev_err(&pdev->dev, "could not register iio (ADC)");
> >> +             return ret;
> >> +     }
> >> +
> >> +     platform_set_drvdata(pdev, indio_dev);  
> >
> > Why?  Looks like this is left over from when we had a remove.  
> 
> Sorry, I missed to remove this redundant code.
> 

  reply	other threads:[~2018-06-24 13:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-06-21  3:14 [PATCH v3 1/2] dt-bindings: iio: Add Spreadtrum SC27XX PMICs ADC controller documentation Baolin Wang
2018-06-21  3:14 ` [PATCH v3 2/2] iio: adc: Add Spreadtrum SC27XX PMICs ADC support Baolin Wang
2018-06-22 14:13   ` Jonathan Cameron
2018-06-24  9:13     ` Baolin Wang
2018-06-24 13:30       ` Jonathan Cameron [this message]
2018-06-24 13:47         ` Jonathan Cameron
2018-06-25  1:47           ` Baolin Wang
2018-06-30 18:00             ` Jonathan Cameron
2018-07-02  2:03               ` Baolin Wang
2018-06-24 13:28 ` [PATCH v3 1/2] dt-bindings: iio: Add Spreadtrum SC27XX PMICs ADC controller documentation 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=20180624143009.48cf14f8@archlinux \
    --to=jic23@kernel.org \
    --cc=baolin.wang@linaro.org \
    --cc=broonie@kernel.org \
    --cc=devicetree@vger.kernel.org \
    --cc=freeman.liu@spreadtrum.com \
    --cc=jonathan.cameron@huawei.com \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mark.rutland@arm.com \
    --cc=pmeerw@pmeerw.net \
    --cc=robh+dt@kernel.org \
    /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;
as well as URLs for NNTP newsgroup(s).