From: Lee Jones <lee.jones-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
To: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
Cc: linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org,
broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org,
lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org,
sbkim73-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.org,
patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org
Subject: Re: [PATCH 1/3] mfd: Add support for S2MPA01 device
Date: Wed, 8 Jan 2014 09:02:08 +0000 [thread overview]
Message-ID: <20140108090208.GD19974@lee--X1> (raw)
In-Reply-To: <1389162390-4582-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> Add the necessary entries required for S2MPA01 multi-function
> device. While at it also convert whitespaces to tabs in core.h.
>
> Signed-off-by: Sachin Kamat <sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
> ---
> drivers/mfd/sec-core.c | 39 +++++++
> include/linux/mfd/samsung/core.h | 16 ++-
> include/linux/mfd/samsung/irq.h | 50 +++++++++
> include/linux/mfd/samsung/s2mpa01.h | 192 +++++++++++++++++++++++++++++++++++
> 4 files changed, 292 insertions(+), 5 deletions(-)
> create mode 100644 include/linux/mfd/samsung/s2mpa01.h
>
> diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
> index a139798b8065..d2e890d50a36 100644
> --- a/drivers/mfd/sec-core.c
> +++ b/drivers/mfd/sec-core.c
> @@ -26,6 +26,7 @@
> #include <linux/mfd/samsung/core.h>
> #include <linux/mfd/samsung/irq.h>
> #include <linux/mfd/samsung/rtc.h>
> +#include <linux/mfd/samsung/s2mpa01.h>
> #include <linux/mfd/samsung/s2mps11.h>
> #include <linux/mfd/samsung/s5m8763.h>
> #include <linux/mfd/samsung/s5m8767.h>
> @@ -69,6 +70,13 @@ static const struct mfd_cell s2mps11_devs[] = {
> }
> };
>
> +static const struct mfd_cell s2mpa01_devs[] = {
> + {
> + .name = "s2mpa01-pmic",
> + },
> +};
> +
> +
Extra '/n' here.
> #ifdef CONFIG_OF
> static struct of_device_id sec_dt_match[] = {
> { .compatible = "samsung,s5m8767-pmic",
> @@ -77,10 +85,25 @@ static struct of_device_id sec_dt_match[] = {
> { .compatible = "samsung,s2mps11-pmic",
> .data = (void *)S2MPS11X,
> },
> + { .compatible = "samsung,s2mpa01-pmic",
> + .data = (void *)S2MPA01,
> + },
Can you use the same format at the rest of the file.
I'm happy for you to fix the entire struct in this patch.
Rest of the file uses overlapping format:
}, {
.compatible = "samsung,s2mpa01-pmic",
},
<snip>
> @@ -92,7 +93,7 @@ struct sec_platform_data {
> int buck3_default_idx;
> int buck4_default_idx;
>
> - int buck_ramp_delay;
> + int buck_ramp_delay;
What's this? Are you fixing (or breaking) white space here?
--
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog
--
To unsubscribe from this list: send the line "unsubscribe devicetree" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
WARNING: multiple messages have this Message-ID (diff)
From: Lee Jones <lee.jones@linaro.org>
To: Sachin Kamat <sachin.kamat@linaro.org>
Cc: linux-kernel@vger.kernel.org, devicetree@vger.kernel.org,
broonie@kernel.org, robh+dt@kernel.org, lgirdwood@gmail.com,
sameo@linux.intel.com, sbkim73@samsung.com, patches@linaro.org
Subject: Re: [PATCH 1/3] mfd: Add support for S2MPA01 device
Date: Wed, 8 Jan 2014 09:02:08 +0000 [thread overview]
Message-ID: <20140108090208.GD19974@lee--X1> (raw)
In-Reply-To: <1389162390-4582-1-git-send-email-sachin.kamat@linaro.org>
> Add the necessary entries required for S2MPA01 multi-function
> device. While at it also convert whitespaces to tabs in core.h.
>
> Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
> ---
> drivers/mfd/sec-core.c | 39 +++++++
> include/linux/mfd/samsung/core.h | 16 ++-
> include/linux/mfd/samsung/irq.h | 50 +++++++++
> include/linux/mfd/samsung/s2mpa01.h | 192 +++++++++++++++++++++++++++++++++++
> 4 files changed, 292 insertions(+), 5 deletions(-)
> create mode 100644 include/linux/mfd/samsung/s2mpa01.h
>
> diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c
> index a139798b8065..d2e890d50a36 100644
> --- a/drivers/mfd/sec-core.c
> +++ b/drivers/mfd/sec-core.c
> @@ -26,6 +26,7 @@
> #include <linux/mfd/samsung/core.h>
> #include <linux/mfd/samsung/irq.h>
> #include <linux/mfd/samsung/rtc.h>
> +#include <linux/mfd/samsung/s2mpa01.h>
> #include <linux/mfd/samsung/s2mps11.h>
> #include <linux/mfd/samsung/s5m8763.h>
> #include <linux/mfd/samsung/s5m8767.h>
> @@ -69,6 +70,13 @@ static const struct mfd_cell s2mps11_devs[] = {
> }
> };
>
> +static const struct mfd_cell s2mpa01_devs[] = {
> + {
> + .name = "s2mpa01-pmic",
> + },
> +};
> +
> +
Extra '/n' here.
> #ifdef CONFIG_OF
> static struct of_device_id sec_dt_match[] = {
> { .compatible = "samsung,s5m8767-pmic",
> @@ -77,10 +85,25 @@ static struct of_device_id sec_dt_match[] = {
> { .compatible = "samsung,s2mps11-pmic",
> .data = (void *)S2MPS11X,
> },
> + { .compatible = "samsung,s2mpa01-pmic",
> + .data = (void *)S2MPA01,
> + },
Can you use the same format at the rest of the file.
I'm happy for you to fix the entire struct in this patch.
Rest of the file uses overlapping format:
}, {
.compatible = "samsung,s2mpa01-pmic",
},
<snip>
> @@ -92,7 +93,7 @@ struct sec_platform_data {
> int buck3_default_idx;
> int buck4_default_idx;
>
> - int buck_ramp_delay;
> + int buck_ramp_delay;
What's this? Are you fixing (or breaking) white space here?
--
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:[~2014-01-08 9:02 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-08 6:26 [PATCH 1/3] mfd: Add support for S2MPA01 device Sachin Kamat
2014-01-08 6:26 ` Sachin Kamat
[not found] ` <1389162390-4582-1-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-01-08 6:26 ` [PATCH 2/3] regulator: Add support for S2MPA01 regulator Sachin Kamat
2014-01-08 6:26 ` Sachin Kamat
[not found] ` <1389162390-4582-2-git-send-email-sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org>
2014-01-08 12:30 ` Mark Brown
2014-01-08 12:30 ` Mark Brown
[not found] ` <20140108123002.GY31886-GFdadSzt00ze9xe1eoZjHA@public.gmane.org>
2014-01-09 5:09 ` Sachin Kamat
2014-01-09 5:09 ` Sachin Kamat
2014-01-09 10:34 ` Mark Brown
2014-01-09 10:34 ` Mark Brown
2014-01-08 9:02 ` Lee Jones [this message]
2014-01-08 9:02 ` [PATCH 1/3] mfd: Add support for S2MPA01 device Lee Jones
2014-01-08 9:21 ` Sachin Kamat
2014-01-08 9:21 ` Sachin Kamat
2014-01-08 9:27 ` Lee Jones
2014-01-08 6:26 ` [PATCH 3/3] Documentation: mfd: Add binding document for S2MPA01 Sachin Kamat
2014-01-08 9:41 ` Mark Rutland
2014-01-09 4:47 ` Sachin Kamat
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=20140108090208.GD19974@lee--X1 \
--to=lee.jones-qsej5fyqhm4dnm+yrofe0a@public.gmane.org \
--cc=broonie-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=devicetree-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=lgirdwood-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
--cc=linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
--cc=patches-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=robh+dt-DgEjT+Ai2ygdnm+yROfE0A@public.gmane.org \
--cc=sachin.kamat-QSEj5FYQhm4dnm+yROfE0A@public.gmane.org \
--cc=sameo-VuQAYsv1563Yd54FQh9/CA@public.gmane.org \
--cc=sbkim73-Sze3O3UU22JBDgjK7y7TUQ@public.gmane.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.