From: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
To: "Sahin, Okan" <Okan.Sahin@analog.com>
Cc: Mark Brown <broonie@kernel.org>, Lee Jones <lee@kernel.org>,
Rob Herring <robh+dt@kernel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@linaro.org>,
Liam Girdwood <lgirdwood@gmail.com>,
Jonathan Cameron <jic23@kernel.org>,
Lars-Peter Clausen <lars@metafoo.de>,
Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>,
William Breathitt Gray <william.gray@linaro.org>,
ChiYuan Huang <cy_huang@richtek.com>,
Marcus Folkesson <marcus.folkesson@gmail.com>,
Caleb Connolly <caleb.connolly@linaro.org>,
"Bolboaca, Ramona" <Ramona.Bolboaca@analog.com>,
"devicetree@vger.kernel.org" <devicetree@vger.kernel.org>,
"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
"linux-iio@vger.kernel.org" <linux-iio@vger.kernel.org>
Subject: Re: [PATCH v4 2/5] drivers: regulator: Add ADI MAX77541/MAX77540 Regulator Support
Date: Mon, 20 Feb 2023 17:30:06 +0200 [thread overview]
Message-ID: <Y/OR/pq8ene7sA2Z@smile.fi.intel.com> (raw)
In-Reply-To: <MN2PR03MB516851FC99B1EDA2604B557FE7A49@MN2PR03MB5168.namprd03.prod.outlook.com>
On Mon, Feb 20, 2023 at 02:58:47PM +0000, Sahin, Okan wrote:
> Wed, 1 Feb 2023 5:30 PM
> Mark Brown <broonie@kernel.org> wrote:
> >On Wed, Feb 01, 2023 at 01:35:15PM +0300, Okan Sahin wrote:
> >Please submit patches using subject lines reflecting the style for the subsystem,
> >this makes it easier for people to identify relevant patches.
> >Look at what existing commits in the area you're changing are doing and make
> >sure your subject lines visually resemble what they're doing.
> >There's no need to resubmit to fix this alone.
> >
> >> + if (max77541->chip->id == MAX77540)
> >> + desc = max77540_regulators_desc;
> >> + else if (max77541->chip->id == MAX77541)
> >> + desc = max77541_regulators_desc;
> >> + else
> >> + return -EINVAL;
> >
> >Write this as a switch statement for extensibility.
> >
> >Otherwise this looks good.
> Thank you for your feedback. I am not sure that I fully understand your
> feedback. What do you mean by "reflecting style for the subsystem". For
> example, this patch includes files modified or added under regulator
> directory as stated in the subject line. Do I need to say anything about mfd
> as regulator is subdevice?
It's about Subject.
Just run `git log --online --no-merges -- drivers/regulator/max77*` and
look closely at it.
--
With Best Regards,
Andy Shevchenko
next prev parent reply other threads:[~2023-02-20 15:30 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-01 10:35 [PATCH v4 0/5] Add MAX77541/MAX77540 PMIC Support Okan Sahin
2023-02-01 10:35 ` [PATCH v4 1/5] dt-bindings: regulator: Add ADI MAX77541/MAX77540 Regulator Okan Sahin
2023-02-01 14:46 ` Krzysztof Kozlowski
2023-02-01 10:35 ` [PATCH v4 2/5] drivers: regulator: Add ADI MAX77541/MAX77540 Regulator Support Okan Sahin
2023-02-01 14:30 ` Mark Brown
2023-02-20 14:58 ` Sahin, Okan
2023-02-20 15:30 ` Andy Shevchenko [this message]
2023-02-02 13:30 ` Andy Shevchenko
2023-02-01 10:35 ` [PATCH v4 3/5] drivers: iio: adc: Add ADI MAX77541 ADC Support Okan Sahin
2023-02-01 14:44 ` Krzysztof Kozlowski
2023-02-02 13:37 ` Andy Shevchenko
2023-02-01 10:35 ` [PATCH v4 4/5] dt-bindings: mfd: Add ADI MAX77541/MAX77540 Okan Sahin
2023-02-01 14:47 ` Krzysztof Kozlowski
2023-02-01 10:35 ` [PATCH v4 5/5] drivers: mfd: Add ADI MAX77541/MAX77540 PMIC Support Okan Sahin
2023-03-03 13:29 ` Lee Jones
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=Y/OR/pq8ene7sA2Z@smile.fi.intel.com \
--to=andriy.shevchenko@linux.intel.com \
--cc=Okan.Sahin@analog.com \
--cc=Ramona.Bolboaca@analog.com \
--cc=broonie@kernel.org \
--cc=caleb.connolly@linaro.org \
--cc=cy_huang@richtek.com \
--cc=devicetree@vger.kernel.org \
--cc=jic23@kernel.org \
--cc=krzysztof.kozlowski+dt@linaro.org \
--cc=lars@metafoo.de \
--cc=lee@kernel.org \
--cc=lgirdwood@gmail.com \
--cc=linux-iio@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=marcus.folkesson@gmail.com \
--cc=prabhakar.mahadev-lad.rj@bp.renesas.com \
--cc=robh+dt@kernel.org \
--cc=william.gray@linaro.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 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.