Linux IIO development
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Andy Shevchenko <andy.shevchenko@gmail.com>
Cc: Jiang Jian <jiangjian@cdjrlc.com>,
	Lars-Peter Clausen <lars@metafoo.de>,
	Michael Hennerich <Michael.Hennerich@analog.com>,
	linux-iio <linux-iio@vger.kernel.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: [PATCH] iio: dac: ad5380: aligned '*' each line and drop unneeded blank line
Date: Sat, 25 Jun 2022 14:26:32 +0100	[thread overview]
Message-ID: <20220625142632.1d0201a1@jic23-huawei> (raw)
In-Reply-To: <CAHp75Veau14x1_8oauUZ=d4TxqJ9wcRyAQF6dR9YrwuTKjP3rQ@mail.gmail.com>

On Tue, 21 Jun 2022 16:08:14 +0200
Andy Shevchenko <andy.shevchenko@gmail.com> wrote:

> On Tue, Jun 21, 2022 at 11:26 AM Jiang Jian <jiangjian@cdjrlc.com> wrote:
> >
> > Consider '*' alignment in the comments of struct ad5380_chip_info declaration.  
> 
> Next time don't forget to bump the version of the patch (use -vX, X =
> 0,1, ..., with the `git format-patch`) and add a changelog (after
> cutter '---' line).
> 
> > ...  
> > >   * @channel_template:  channel specification template
> > >   * @num_channels:      number of channels
> > >   * @int_vref:          internal vref in uV
> > > -*/
> > > + */
> > >  
> > While at it, drop the unneeded blank line here.  
> > >  struct ad5380_chip_info {  
> > ...
> > }  
> 
> This should be replaced by something simpler, like:
> While at it, drop the unneeded blank lines.
> 
> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
> 
> I do not think you need to resend this simplest patch and Jonathan
> will help you this time, but consider the above for future
> contributions, thanks!
Tweaked and applied to the togreg branch of iio.git which I'll
push out initially as testing to let the 0-day bot poke it.

Thanks,

Jonathan

> 
> > Signed-off-by: Jiang Jian <jiangjian@cdjrlc.com>
> > ---
> >  drivers/iio/dac/ad5380.c | 4 +---
> >  1 file changed, 1 insertion(+), 3 deletions(-)
> >
> > diff --git a/drivers/iio/dac/ad5380.c b/drivers/iio/dac/ad5380.c
> > index a44c83242fb1..81775152aac6 100644
> > --- a/drivers/iio/dac/ad5380.c
> > +++ b/drivers/iio/dac/ad5380.c
> > @@ -36,8 +36,7 @@
> >   * @channel_template:  channel specification template
> >   * @num_channels:      number of channels
> >   * @int_vref:          internal vref in uV
> > -*/
> > -
> > + */
> >  struct ad5380_chip_info {
> >         struct iio_chan_spec    channel_template;
> >         unsigned int            num_channels;
> > @@ -53,7 +52,6 @@ struct ad5380_chip_info {
> >   * @pwr_down:          whether the chip is currently in power down mode
> >   * @lock:              lock to protect the data buffer during regmap ops
> >   */
> > -
> >  struct ad5380_state {
> >         struct regmap                   *regmap;
> >         const struct ad5380_chip_info   *chip_info;
> > --
> > 2.17.1
> >  
> 
> 
> --
> With Best Regards,
> Andy Shevchenko


      reply	other threads:[~2022-06-25 13:17 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-21  9:23 [PATCH] iio: dac: ad5380: aligned '*' each line and drop unneeded blank line Jiang Jian
2022-06-21 14:08 ` Andy Shevchenko
2022-06-25 13:26   ` 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=20220625142632.1d0201a1@jic23-huawei \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=andy.shevchenko@gmail.com \
    --cc=jiangjian@cdjrlc.com \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=linux-kernel@vger.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