linux-iio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@kernel.org>
To: Slawomir Stepien <sst@poczta.fm>
Cc: linux-iio@vger.kernel.org, lars@metafoo.de,
	Michael.Hennerich@analog.com, knaack.h@gmx.de, pmeerw@pmeerw.net,
	gregkh@linuxfoundation.org, devel@driverdev.osuosl.org
Subject: Re: [PATCH v2 2/2] staging: iio: cdc: ad7150: fix misaligned lines
Date: Sun, 7 Oct 2018 20:09:43 +0100	[thread overview]
Message-ID: <20181007200943.6b2a6e50@archlinux> (raw)
In-Reply-To: <20181005080515.GC2984@x220.localdomain>

On Fri, 5 Oct 2018 10:05:15 +0200
Slawomir Stepien <sst@poczta.fm> wrote:

> These lines were misaligned, but the checkpatch.pl didn't indicate them
> as such.
> 
> Signed-off-by: Slawomir Stepien <sst@poczta.fm>
Applied to the togreg branch of iio.git and pushed out as
testing for the autobuilders to play with it.

Thanks,

Jonathan

> ---
>  drivers/staging/iio/cdc/ad7150.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/iio/cdc/ad7150.c b/drivers/staging/iio/cdc/ad7150.c
> index e2c70063fa0f..24f74ce60f80 100644
> --- a/drivers/staging/iio/cdc/ad7150.c
> +++ b/drivers/staging/iio/cdc/ad7150.c
> @@ -183,8 +183,8 @@ static int ad7150_write_event_params(struct iio_dev *indio_dev,
>  	case IIO_EV_TYPE_THRESH:
>  		value = chip->threshold[rising][chan];
>  		return i2c_smbus_write_word_data(chip->client,
> -						ad7150_addresses[chan][3],
> -						swab16(value));
> +						 ad7150_addresses[chan][3],
> +						 swab16(value));
>  	case IIO_EV_TYPE_MAG_ADAPTIVE:
>  		sens = chip->mag_sensitivity[rising][chan];
>  		timeout = chip->mag_timeout[rising][chan];

      reply	other threads:[~2018-10-08  2:18 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-05  8:04 [PATCH v2 0/2] Fix style problems in ad7150 driver Slawomir Stepien
2018-10-05  8:04 ` [PATCH v2 1/2] staging: iio: cdc: ad7150: use value copy to shorten the line length Slawomir Stepien
2018-10-07 19:07   ` Jonathan Cameron
2018-10-05  8:05 ` [PATCH v2 2/2] staging: iio: cdc: ad7150: fix misaligned lines Slawomir Stepien
2018-10-07 19:09   ` 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=20181007200943.6b2a6e50@archlinux \
    --to=jic23@kernel.org \
    --cc=Michael.Hennerich@analog.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=gregkh@linuxfoundation.org \
    --cc=knaack.h@gmx.de \
    --cc=lars@metafoo.de \
    --cc=linux-iio@vger.kernel.org \
    --cc=pmeerw@pmeerw.net \
    --cc=sst@poczta.fm \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).