Linux-IIO Archive on lore.kernel.org
 help / Atom feed
* [PATCH v2] iio:accel:adxl345: Change alignment to match paranthesis
@ 2019-02-09 12:25 Luciana da Costa Marques
  2019-02-09 16:39 ` Jonathan Cameron
  0 siblings, 1 reply; 2+ messages in thread
From: Luciana da Costa Marques @ 2019-02-09 12:25 UTC (permalink / raw)
  To: Lars-Peter Clausen, Michael Hennerich, Jonathan Cameron,
	Hartmut Knaack, Peter Meerwald-Stadler
  Cc: linux-iio, linux-kernel, kernel-usp, Luciana da Costa Marques

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>
---
 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;
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH v2] iio:accel:adxl345: Change alignment to match paranthesis
  2019-02-09 12:25 [PATCH v2] iio:accel:adxl345: Change alignment to match paranthesis Luciana da Costa Marques
@ 2019-02-09 16:39 ` Jonathan Cameron
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2019-02-09 16:39 UTC (permalink / raw)
  To: Luciana da Costa Marques
  Cc: Lars-Peter Clausen, Michael Hennerich, Hartmut Knaack,
	Peter Meerwald-Stadler, linux-iio, linux-kernel, kernel-usp

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;


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, back to index

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-09 12:25 [PATCH v2] iio:accel:adxl345: Change alignment to match paranthesis Luciana da Costa Marques
2019-02-09 16:39 ` Jonathan Cameron

Linux-IIO Archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/linux-iio/0 linux-iio/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 linux-iio linux-iio/ https://lore.kernel.org/linux-iio \
		linux-iio@vger.kernel.org linux-iio@archiver.kernel.org
	public-inbox-index linux-iio


Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernel.vger.linux-iio


AGPL code for this site: git clone https://public-inbox.org/ public-inbox