iio: sca3000: Remove trailing whitespace
PATCH 1/1 iio: sca3000: Remove trailing whitespace
Removes trailing whitespace to fix checkpatch errors
--- drivers/iio/accel/sca3000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)
drivers/iio/accel/sca3000.c +1 -1
@@ -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)
Signature · 1 line
2.13.1
Jonathan Cameron
maintainerQuoted 3 lines · On Mon, 26 Jun 2017 21:45:22 -0400 Reno Farnesi <[email protected]> wrote:
Removes trailing whitespace to fix checkpatch errors
Signed-off-by Reno Farnesi <[email protected]>
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
Quoted 36 lines
--- drivers/iio/accel/sca3000.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-)drivers/iio/accel/sca3000.c +1
-1@@ -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 */
#defineSCA3000_REG_X_MSB_ADDR0x05
#defineSCA3000_REG_Y_MSB_ADDR0x07drivers/iio/accel/sca3000.c +2
-2@@ -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)