lkml.org 
[lkml]   [2019]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v2] iio:accel:adxl345: Change alignment to match paranthesis
On Sat,  9 Feb 2019 10:25:42 -0200
Luciana da Costa Marques <lucianadacostamarques@gmail.com> wrote:

> Align broken line to match upper line parenthesis. Solves the
> checkpatch.pl's message:
>
> CHECK: Alignment should match open parenthesis
>
> Signed-off-by: Luciana da Costa Marques <lucianadacostamarques@gmail.com>

Applied to the togreg branch of iio.git and pushed out as testing
because there are other things in that branch that need checking by
the autobuilders.

Thanks,

Jonathan

> ---
> changes in v2:
> - add full name to commit author
>
> drivers/iio/accel/adxl345_core.c | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/iio/accel/adxl345_core.c b/drivers/iio/accel/adxl345_core.c
> index 780f87f72338..f03ed00685ea 100644
> --- a/drivers/iio/accel/adxl345_core.c
> +++ b/drivers/iio/accel/adxl345_core.c
> @@ -150,8 +150,8 @@ static int adxl345_read_raw(struct iio_dev *indio_dev,
> }
>
> static int adxl345_write_raw(struct iio_dev *indio_dev,
> - struct iio_chan_spec const *chan,
> - int val, int val2, long mask)
> + struct iio_chan_spec const *chan,
> + int val, int val2, long mask)
> {
> struct adxl345_data *data = iio_priv(indio_dev);
> s64 n;

\
 
 \ /
  Last update: 2019-02-09 17:41    [W:0.045 / U:0.136 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site