* [PATCH] staging: iio: adt7316: match parenthesis alignment
@ 2019-04-29 17:59 João Seckler
2019-05-05 12:06 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: João Seckler @ 2019-04-29 17:59 UTC (permalink / raw)
To: lars, Michael.Hennerich, stefan.popa, jic23, knaack.h, pmeerw,
gregkh
Cc: linux-iio, devel, linux-kernel, kernel-usp
This patch solves the following checkpatch.pl message:
CHECK: Alignment should match open parenthesis.
This makes the file more compliant with the preferred coding style for
the Linux kernel.
Signed-off-by: João Seckler <joaoseckler@gmail.com>
---
drivers/staging/iio/addac/adt7316.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c
index b6a65ee8d558..37ce563cb0e1 100644
--- a/drivers/staging/iio/addac/adt7316.c
+++ b/drivers/staging/iio/addac/adt7316.c
@@ -2154,7 +2154,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
chip->dac_bits = 8;
chip->ldac_pin = devm_gpiod_get_optional(dev, "adi,ldac",
- GPIOD_OUT_LOW);
+ GPIOD_OUT_LOW);
if (IS_ERR(chip->ldac_pin)) {
ret = PTR_ERR(chip->ldac_pin);
dev_err(dev, "Failed to request ldac GPIO: %d\n", ret);
--
2.11.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: iio: adt7316: match parenthesis alignment
2019-04-29 17:59 [PATCH] staging: iio: adt7316: match parenthesis alignment João Seckler
@ 2019-05-05 12:06 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2019-05-05 12:06 UTC (permalink / raw)
To: João Seckler
Cc: lars, Michael.Hennerich, stefan.popa, knaack.h, pmeerw, gregkh,
linux-iio, devel, linux-kernel, kernel-usp
On Mon, 29 Apr 2019 14:59:40 -0300
João Seckler <joaoseckler@gmail.com> wrote:
> This patch solves the following checkpatch.pl message:
> CHECK: Alignment should match open parenthesis.
> This makes the file more compliant with the preferred coding style for
> the Linux kernel.
>
> Signed-off-by: João Seckler <joaoseckler@gmail.com>
Applied to the togreg branch of iio.git and pushed out as testing for
the autobuilders to play with it.
Thanks,
Jonathan
> ---
> drivers/staging/iio/addac/adt7316.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/addac/adt7316.c b/drivers/staging/iio/addac/adt7316.c
> index b6a65ee8d558..37ce563cb0e1 100644
> --- a/drivers/staging/iio/addac/adt7316.c
> +++ b/drivers/staging/iio/addac/adt7316.c
> @@ -2154,7 +2154,7 @@ int adt7316_probe(struct device *dev, struct adt7316_bus *bus,
> chip->dac_bits = 8;
>
> chip->ldac_pin = devm_gpiod_get_optional(dev, "adi,ldac",
> - GPIOD_OUT_LOW);
> + GPIOD_OUT_LOW);
> if (IS_ERR(chip->ldac_pin)) {
> ret = PTR_ERR(chip->ldac_pin);
> dev_err(dev, "Failed to request ldac GPIO: %d\n", ret);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-05-05 12:06 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-04-29 17:59 [PATCH] staging: iio: adt7316: match parenthesis alignment João Seckler
2019-05-05 12:06 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).