Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1418430 > unrolled thread

[PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch

Started byBen Copeland <ben.copeland@linaro.org>
First post2016-06-09 17:30 +0200
Last post2016-06-09 18:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch Ben Copeland <ben.copeland@linaro.org> - 2016-06-09 17:30 +0200
    Re: [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by  checkpatch Lee Jones <lee.jones@linaro.org> - 2016-06-09 18:20 +0200

#1418430 — [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch

FromBen Copeland <ben.copeland@linaro.org>
Date2016-06-09 17:30 +0200
Subject[PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch
Message-ID<rIa4a-8aG-39@gated-at.bofh.it>
WARNING: please, no spaces at the start of a line
+       { "tps6507x", 0 },$

WARNING: please, no spaces at the start of a line
+       { }$

Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
---
 drivers/mfd/tps6507x.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c
index 40beb2f..1f308c4 100644
--- a/drivers/mfd/tps6507x.c
+++ b/drivers/mfd/tps6507x.c
@@ -105,8 +105,8 @@ static int tps6507x_i2c_probe(struct i2c_client *i2c,
 }
 
 static const struct i2c_device_id tps6507x_i2c_id[] = {
-       { "tps6507x", 0 },
-       { }
+	{ "tps6507x", 0 },
+	{ }
 };
 MODULE_DEVICE_TABLE(i2c, tps6507x_i2c_id);
 
-- 
2.8.3

[toc] | [next] | [standalone]


#1418461 — Re: [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch

FromLee Jones <lee.jones@linaro.org>
Date2016-06-09 18:20 +0200
SubjectRe: [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch
Message-ID<rIaQx-hP-1@gated-at.bofh.it>
In reply to#1418430
On Thu, 09 Jun 2016, Ben Copeland wrote:

> WARNING: please, no spaces at the start of a line
> +       { "tps6507x", 0 },$
> 
> WARNING: please, no spaces at the start of a line
> +       { }$
> 
> Signed-off-by: Ben Copeland <ben.copeland@linaro.org>
> ---
>  drivers/mfd/tps6507x.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

Applied, thanks.

Congratulations, you are now a Kernel developer!

> diff --git a/drivers/mfd/tps6507x.c b/drivers/mfd/tps6507x.c
> index 40beb2f..1f308c4 100644
> --- a/drivers/mfd/tps6507x.c
> +++ b/drivers/mfd/tps6507x.c
> @@ -105,8 +105,8 @@ static int tps6507x_i2c_probe(struct i2c_client *i2c,
>  }
>  
>  static const struct i2c_device_id tps6507x_i2c_id[] = {
> -       { "tps6507x", 0 },
> -       { }
> +	{ "tps6507x", 0 },
> +	{ }
>  };
>  MODULE_DEVICE_TABLE(i2c, tps6507x_i2c_id);
>  

-- 
Lee Jones
Linaro STMicroelectronics Landing Team Lead
Linaro.org │ Open source software for ARM SoCs
Follow Linaro: Facebook | Twitter | Blog

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web