All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] iio: sca3000: Remove trailing whitespace
@ 2017-06-27  1:45 Reno Farnesi
  2017-07-01 12:06 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Reno Farnesi @ 2017-06-27  1:45 UTC (permalink / raw)
  To: jic23@kernel.org; +Cc: linux-iio

Removes trailing whitespace to fix checkpatch errors

Signed-off-by: Reno Farnesi <nfarnesi4@gmail.com>
---
 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)
 
-- 
2.13.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] iio: sca3000: Remove trailing whitespace
  2017-06-27  1:45 [PATCH] iio: sca3000: Remove trailing whitespace Reno Farnesi
@ 2017-07-01 12:06 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2017-07-01 12:06 UTC (permalink / raw)
  To: Reno Farnesi; +Cc: linux-iio

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

> Removes trailing whitespace to fix checkpatch errors
> 
> Signed-off-by: Reno Farnesi <nfarnesi4@gmail.com>
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)
>  


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-01 12:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-06-27  1:45 [PATCH] iio: sca3000: Remove trailing whitespace Reno Farnesi
2017-07-01 12:06 ` Jonathan Cameron

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.