diff mbox

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

Message ID 20160609152550.4314-1-ben.copeland@linaro.org
State Accepted
Commit 7657c9fb1e356b89f80f5454cb12691594807234
Headers show

Commit Message

bcc June 9, 2016, 3:25 p.m. UTC
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(-)

-- 
2.8.3

Comments

Lee Jones June 9, 2016, 4:15 p.m. UTC | #1
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
diff mbox

Patch

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);