Re: [PATCH 4/8] regulator: qcom-rpmh: Add new regulator types found on SA8155p adp board
From: Bhupesh Sharma
Date: Mon Jun 07 2021 - 08:32:35 EST
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.
> > +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.
Thanks,
Bhupesh
>
> > +};
>
> --
> With Best Regards,
> Andy Shevchenko