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


Groups > linux.kernel > #1418461

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

From Lee Jones <lee.jones@linaro.org>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] mfd: tps6507: Fix white space warnings reported by checkpatch
Date 2016-06-09 18:20 +0200
Message-ID <rIaQx-hP-1@gated-at.bofh.it> (permalink)
References <rIa4a-8aG-39@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[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

csiph-web