From: Lee Jones <lee.jones@linaro.org>
To: Alim Akhtar <alim.akhtar@samsung.com>
Cc: broonie@kernel.org, k.kozlowski@samsung.com,
linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 1/2] mfd: sec-core: Rename MFD and regulator names differently
Date: Fri, 30 Oct 2015 12:24:37 +0000 [thread overview]
Message-ID: <20151030122437.GT4058@x1> (raw)
In-Reply-To: <1446202913-20467-1-git-send-email-alim.akhtar@samsung.com>
On Fri, 30 Oct 2015, Alim Akhtar wrote:
> Currently S2MPSXX multifunction device is named as *-pmic,
> and this MFD also supports regulator as a one of its MFD cell which
> has the same name, which is a bit confusing.
>
> We did discussed different approaches about how the MFD and it
> cells need to be named here [1].
> Based in the discussion this patch rename MFD regulator name as
> *-regulator instead of current *-pmic.
>
> [1]-> https://lkml.org/lkml/2015/10/28/417
>
> Suggested-by: Lee Jones <lee.jones@linaro.org>
> Signed-off-by: Alim Akhtar <alim.akhtar@samsung.com>
> ---
> drivers/mfd/sec-core.c | 8 ++++----
> 1 file changed, 4 insertions(+), 4 deletions(-)
You need to squash these patches together, or you will hurt
bisectability for your platform.
But the code looks good:
Acked-by: Lee Jones <lee.jones@linaro.org>
> diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
> index 7c4e7be17f1e..c9802ba9be72 100644
> --- a/drivers/mfd/sec-core.c
> +++ b/drivers/mfd/sec-core.c
> @@ -68,7 +68,7 @@ static const struct mfd_cell s5m8767_devs[] = {
>
> static const struct mfd_cell s2mps11_devs[] = {
> {
> - .name = "s2mps11-pmic",
> + .name = "s2mps11-regulator",
> }, {
> .name = "s2mps14-rtc",
> }, {
> @@ -78,7 +78,7 @@ static const struct mfd_cell s2mps11_devs[] = {
> };
>
> static const struct mfd_cell s2mps13_devs[] = {
> - { .name = "s2mps13-pmic", },
> + { .name = "s2mps13-regulator", },
> { .name = "s2mps13-rtc", },
> {
> .name = "s2mps13-clk",
> @@ -88,7 +88,7 @@ static const struct mfd_cell s2mps13_devs[] = {
>
> static const struct mfd_cell s2mps14_devs[] = {
> {
> - .name = "s2mps14-pmic",
> + .name = "s2mps14-regulator",
> }, {
> .name = "s2mps14-rtc",
> }, {
> @@ -116,7 +116,7 @@ static const struct mfd_cell s2mpa01_devs[] = {
>
> static const struct mfd_cell s2mpu02_devs[] = {
> {
> - .name = "s2mpu02-pmic",
> + .name = "s2mpu02-regulator",
> },
> };
>
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
next prev parent reply other threads:[~2015-10-30 12:24 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-30 11:01 [PATCH 1/2] mfd: sec-core: Rename MFD and regulator names differently Alim Akhtar
2015-10-30 11:01 ` [PATCH 2/2] regulator: s2mps11: Rename s2mpsxx regulator as *-regulator Alim Akhtar
2015-10-30 12:24 ` Lee Jones
2015-10-30 12:24 ` Lee Jones [this message]
2015-11-01 4:15 ` [PATCH 1/2] mfd: sec-core: Rename MFD and regulator names differently Krzysztof Kozlowski
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=20151030122437.GT4058@x1 \
--to=lee.jones@linaro.org \
--cc=alim.akhtar@samsung.com \
--cc=broonie@kernel.org \
--cc=k.kozlowski@samsung.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-samsung-soc@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