Re: [PATCH] iio: sca3000: Remove trailing whitespace

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

 



On Mon, 26 Jun 2017 21:45:22 -0400
Reno Farnesi <nfarnesi4@xxxxxxxxx> wrote:

> Removes trailing whitespace to fix checkpatch errors
> 
> Signed-off-by: Reno Farnesi <nfarnesi4@xxxxxxxxx>
Hi Reno,

Your patch doesn't apply as your email client as line wrapped it.
Please see the hints in Documentation/process/email-clients.rst

Actual change is good though and description is fine - so just
the email client bit needs sorting.

I've fixed it up and applied the patch to the togreg branch of
iio.git which is initially pushed out as testing for the autobuilders
to play with it.

Thanks,

Jonathan
> ---
>  drivers/iio/accel/sca3000.c | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/accel/sca3000.c b/drivers/iio/accel/sca3000.c
> index cb1d83fa19a0..39ab210c44f6 100644
> --- a/drivers/iio/accel/sca3000.c
> +++ b/drivers/iio/accel/sca3000.c
> @@ -36,7 +36,7 @@
>  #define   SCA3000_LOCKED				BIT(5)
>  #define   SCA3000_EEPROM_CS_ERROR			BIT(1)
>  #define   SCA3000_SPI_FRAME_ERROR			BIT(0)
> - 
> +
>  /* All reads done using register decrement so no need to 
> directly access LSBs */
>  #define SCA3000_REG_X_MSB_ADDR				0x05
>  #define SCA3000_REG_Y_MSB_ADDR				0x07
> @@ -74,7 +74,7 @@
>  #define SCA3000_REG_INT_STATUS_ADDR			0x16
>  #define   SCA3000_REG_INT_STATUS_THREE_QUARTERS		BIT(7)
>  #define   SCA3000_REG_INT_STATUS_HALF			BIT(6)
> -	
> +
>  #define SCA3000_INT_STATUS_FREE_FALL			BIT(3)
>  #define SCA3000_INT_STATUS_Y_TRIGGER			BIT(2)
>  #define SCA3000_INT_STATUS_X_TRIGGER			BIT(1)
> @@ -124,7 +124,7 @@
>  
>  #define SCA3000_REG_INT_MASK_ADDR			0x21
>  #define   SCA3000_REG_INT_MASK_PROT_MASK		0x1C
> - 
> +
>  #define   SCA3000_REG_INT_MASK_RING_THREE_QUARTER	BIT(7)
>  #define   SCA3000_REG_INT_MASK_RING_HALF		BIT(6)
>  

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