Skip to contentSkip to conversation

iio:accel:adxl345: Change alignment to match paranthesis

PATCH In review Luciana da Costa Marques 2 participants 2 messages Feb 9, 2019

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 iio:accel:adxl345: Change alignment to match paranthesis

Align broken line to match upper line parenthesis. Solves the checkpatch.pl's message:

CHECK: Alignment should match open parenthesis

---
changes in v2:
- add full name to commit author

 drivers/iio/accel/adxl345_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iio/accel/adxl345_core.c +2 -2
index 780f87f72338..f03ed00685ea 100644
@@ -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;
Signature · 1 line
2.17.1
maintainer
#1 lore raw
Quoted 6 lines · On Sat, 9 Feb 2019 10:25:42 -0200 Luciana da Costa Marques…

Align broken line to match upper line parenthesis. Solves the checkpatch.pl's message:

CHECK: Alignment should match open parenthesis

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

Quoted 22 lines

---
changes in v2:
- add full name to commit author

 drivers/iio/accel/adxl345_core.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
drivers/iio/accel/adxl345_core.c +2 -2
index 780f87f72338..f03ed00685ea 100644
@@ -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;