2015-07-08 14:04:44

by Ana Calinov

[permalink] [raw]
Subject: [PATCH] iio: frequency: adf4350: Delete blank line

This patch removes an unnecessary blank line
found by checkpatch.pl --strict:
Blank lines aren't necessary after an open brace '{'.

Signed-off-by: Ana Calinov <[email protected]>
---
drivers/iio/frequency/adf4350.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
index 10a0dfc..9890c81 100644
--- a/drivers/iio/frequency/adf4350.c
+++ b/drivers/iio/frequency/adf4350.c
@@ -72,7 +72,6 @@ static int adf4350_sync_config(struct adf4350_state *st)
for (i = ADF4350_REG5; i >= ADF4350_REG0; i--) {
if ((st->regs_hw[i] != st->regs[i]) ||
((i == ADF4350_REG0) && doublebuf)) {
-
switch (i) {
case ADF4350_REG1:
case ADF4350_REG4:
--
2.1.0


2015-07-11 17:28:33

by Jonathan Cameron

[permalink] [raw]
Subject: Re: [PATCH] iio: frequency: adf4350: Delete blank line

On 08/07/15 15:04, Ana Calinov wrote:
> This patch removes an unnecessary blank line
> found by checkpatch.pl --strict:
> Blank lines aren't necessary after an open brace '{'.
>
> Signed-off-by: Ana Calinov <[email protected]>
Applied to the togreg branch of iio.git. Initially pushed
out as testing for the autobuilders to play with it.

Thanks,

Jonathan
> ---
> drivers/iio/frequency/adf4350.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/iio/frequency/adf4350.c b/drivers/iio/frequency/adf4350.c
> index 10a0dfc..9890c81 100644
> --- a/drivers/iio/frequency/adf4350.c
> +++ b/drivers/iio/frequency/adf4350.c
> @@ -72,7 +72,6 @@ static int adf4350_sync_config(struct adf4350_state *st)
> for (i = ADF4350_REG5; i >= ADF4350_REG0; i--) {
> if ((st->regs_hw[i] != st->regs[i]) ||
> ((i == ADF4350_REG0) && doublebuf)) {
> -
> switch (i) {
> case ADF4350_REG1:
> case ADF4350_REG4:
>