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

From: Lee Jones
Date: Thu Jun 09 2016 - 12:14:55 EST


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@xxxxxxxxxx>
> ---
> 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