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

> These lines were misaligned, but the checkpatch.pl didn't indicate them
> as such.
> 
> Signed-off-by: Slawomir Stepien <s...@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];

_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to