Re: [PATCH 10/10] iio: pressure: ms5611: use tab for indention

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14/04/16 20:36, Slawomir Stepien wrote:
> This fixes the errors reported by checkpatch.pl:
> 
> ERROR: code indent should use tabs where possible
> 
> Signed-off-by: Slawomir Stepien <sst@xxxxxxxxx>
I modified this one slightly to add the 'extra' spaces needed to maintain the
alignment of the parameters with the open bracket.

Otherwise, good and applied.

Thanks,

Jonathan
> ---
>  drivers/iio/pressure/ms5611_core.c | 2 +-
>  drivers/iio/pressure/ms5611_spi.c  | 2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/iio/pressure/ms5611_core.c b/drivers/iio/pressure/ms5611_core.c
> index c4e6586..9d192bf 100644
> --- a/drivers/iio/pressure/ms5611_core.c
> +++ b/drivers/iio/pressure/ms5611_core.c
> @@ -429,7 +429,7 @@ static void ms5611_fini(const struct iio_dev *indio_dev)
>  }
>  
>  int ms5611_probe(struct iio_dev *indio_dev, struct device *dev,
> -                 const char *name, int type)
> +		const char *name, int type)
>  {
>  	int ret;
>  	struct ms5611_state *st = iio_priv(indio_dev);
> diff --git a/drivers/iio/pressure/ms5611_spi.c b/drivers/iio/pressure/ms5611_spi.c
> index 7600483..8f75532 100644
> --- a/drivers/iio/pressure/ms5611_spi.c
> +++ b/drivers/iio/pressure/ms5611_spi.c
> @@ -108,7 +108,7 @@ static int ms5611_spi_probe(struct spi_device *spi)
>  	st->client = spi;
>  
>  	return ms5611_probe(indio_dev, &spi->dev, spi_get_device_id(spi)->name,
> -	                    spi_get_device_id(spi)->driver_data);
> +			spi_get_device_id(spi)->driver_data);
>  }
>  
>  static int ms5611_spi_remove(struct spi_device *spi)
> 

--
To unsubscribe from this list: send the line "unsubscribe linux-iio" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Input]     [Linux Kernel]     [Linux SCSI]     [X.org]

  Powered by Linux