Re: [PATCH 4/8] regulator: qcom-rpmh: Add new regulator types found on SA8155p adp board

From: Bjorn Andersson
Date: Mon Jun 14 2021 - 12:18:49 EST


On Mon 07 Jun 07:30 CDT 2021, Bhupesh Sharma wrote:

> On Mon, 7 Jun 2021 at 17:39, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> >
> > On Mon, Jun 7, 2021 at 2:41 PM Bhupesh Sharma <bhupesh.sharma@xxxxxxxxxx> wrote:
> > >
> > > SA8155p-adp board has two new regulator types - pmm8155au_1 and
> > > pmm8155au_2.
> > >
> > > The output power management circuits in these regulators include:
> > > - FTS510 smps,
> > > - HFS510 smps, and
> > > - LDO510 linear regulators
> >
> > ...
> >
> > > Cc: Linus Walleij <linus.walleij@xxxxxxxxxx>
> > > Cc: Liam Girdwood <lgirdwood@xxxxxxxxx>
> > > Cc: Mark Brown <broonie@xxxxxxxxxx>
> > > Cc: Bjorn Andersson <bjorn.andersson@xxxxxxxxxx>
> > > Cc: Vinod Koul <vkoul@xxxxxxxxxx>
> > > Cc: Rob Herring <robh+dt@xxxxxxxxxx>
> > > Cc: Andy Gross <agross@xxxxxxxxxx>
> > > Cc: devicetree@xxxxxxxxxxxxxxx
> > > Cc: linux-kernel@xxxxxxxxxxxxxxx
> > > Cc: linux-gpio@xxxxxxxxxxxxxxx
> > > Cc: bhupesh.linux@xxxxxxxxx
> >
> > Use --cc or similar option when run `git send-email`, no need to
> > pollute the commit message with these.
>
> It's just a matter of preference IMO. I prefer to use a Cc list
> here.
>

The Cc list in the commit message will be committed to the git history
and there it carries the information that you specifically made sure
that these people saw the patch. So please limit the use to that
purpose.

> > > +static const struct rpmh_vreg_init_data pmm8155au_1_vreg_data[] = {
> >
> >
> > > + {},
> >
> > Comma is not needed in the terminator line.
>
> Hmm.. it's similar to the syntax already used at several places in this file.
> See ' struct rpmh_vreg_init_data pm8150l_vreg_data[] ' for example.
>
> Unless there is an obvious issue with it, let's use the same to keep
> things similar from a syntax p-o-v.
>

Those other places shouldn't use the ',' either, so please help set a
better precedence.

Thanks,
Bjorn

> Thanks,
> Bhupesh
>
> >
> > > +};
> >
> > --
> > With Best Regards,
> > Andy Shevchenko