All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Reno Farnesi <nfarnesi4@gmail.com>
Cc: linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: sca3000: Remove trailing whitespace
Date: Sat, 1 Jul 2017 13:06:56 +0100	[thread overview]
Message-ID: <20170701130656.6e42f672@kernel.org> (raw)
In-Reply-To: <1498527922.31066.3.camel@gmail.com>

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


      reply	other threads:[~2017-07-01 12:07 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-06-27  1:45 [PATCH] iio: sca3000: Remove trailing whitespace Reno Farnesi
2017-07-01 12:06 ` Jonathan Cameron [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170701130656.6e42f672@kernel.org \
    --to=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=nfarnesi4@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.