* [PATCH] staging: iio: ad9834: Remove excess blank line
@ 2020-08-05 22:23 Calvin Glisson
2020-08-06 17:35 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Calvin Glisson @ 2020-08-05 22:23 UTC (permalink / raw)
To: lars; +Cc: linux-iio
Remove excess blank line after variable declarations.
Improves code consistency and readability.
Change suggested by checkpatch.pl:
CHECK: Please don't use multiple blank lines
Signed-off-by: Calvin Glisson <taragaram@gmail.com>
---
drivers/staging/iio/frequency/ad9834.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/staging/iio/frequency/ad9834.c b/drivers/staging/iio/frequency/ad9834.c
index 77f77a2b2e05..262c3590e64e 100644
--- a/drivers/staging/iio/frequency/ad9834.c
+++ b/drivers/staging/iio/frequency/ad9834.c
@@ -397,7 +397,6 @@ static int ad9834_probe(struct spi_device *spi)
struct regulator *reg;
int ret;
-
reg = devm_regulator_get(&spi->dev, "avdd");
if (IS_ERR(reg))
return PTR_ERR(reg);
--
2.26.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] staging: iio: ad9834: Remove excess blank line
2020-08-05 22:23 [PATCH] staging: iio: ad9834: Remove excess blank line Calvin Glisson
@ 2020-08-06 17:35 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2020-08-06 17:35 UTC (permalink / raw)
To: Calvin Glisson; +Cc: lars, linux-iio
On Wed, 5 Aug 2020 15:23:00 -0700
Calvin Glisson <taragaram@gmail.com> wrote:
> Remove excess blank line after variable declarations.
> Improves code consistency and readability.
> Change suggested by checkpatch.pl:
>
> CHECK: Please don't use multiple blank lines
>
> Signed-off-by: Calvin Glisson <taragaram@gmail.com>
Applied
> ---
> drivers/staging/iio/frequency/ad9834.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/staging/iio/frequency/ad9834.c b/drivers/staging/iio/frequency/ad9834.c
> index 77f77a2b2e05..262c3590e64e 100644
> --- a/drivers/staging/iio/frequency/ad9834.c
> +++ b/drivers/staging/iio/frequency/ad9834.c
> @@ -397,7 +397,6 @@ static int ad9834_probe(struct spi_device *spi)
> struct regulator *reg;
> int ret;
>
> -
> reg = devm_regulator_get(&spi->dev, "avdd");
> if (IS_ERR(reg))
> return PTR_ERR(reg);
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-08-06 17:35 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-05 22:23 [PATCH] staging: iio: ad9834: Remove excess blank line Calvin Glisson
2020-08-06 17:35 ` Jonathan Cameron
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.