Skip to contentSkip to conversation

staging:iio:ad7152: align line to match open parenthesis

PATCH In review Camylla Cantanheide 2 participants 2 messages Jan 29, 2019 – Feb 2, 2019

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

PATCH 1/1 staging:iio:ad7152: align line to match open parenthesis

From: Feulo <[email protected]>

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

CHECK: Alignment should match open parenthesis.

---
 drivers/staging/iio/cdc/ad7152.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/cdc/ad7152.c +1 -1
index 25f51db..e7f082f 100644
@@ -362,7 +362,7 @@ static int ad7152_read_raw(struct iio_dev *indio_dev,
 		/* Trigger a single read */
 		regval |= AD7152_CONF_MODE_SINGLE_CONV;
 		ret = i2c_smbus_write_byte_data(chip->client, AD7152_REG_CFG,
-				regval);
+						regval);
 		if (ret < 0)
 			goto out;
 
Signature · 1 line
2.7.4
maintainer
#1 lore raw
Quoted 8 lines · On Tue, 29 Jan 2019 16:31:00 -0200 Camylla Cantanheide…

From: Feulo <[email protected]>

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

CHECK: Alignment should match open parenthesis.

For reference should be full name (though I'm obviously making assumptions).

Also, this is very unlucky timing as I have a patch sent on Wednesday to drop this driver on the basis the part is going away and we don't know of anyone who actually has hardware. Given I'm going to apply that in a moment, adding this one would just be noise.

Sorry. This happens sometimes in the churn of the kernel!

Jonathan

Quoted 18 lines
---
 drivers/staging/iio/cdc/ad7152.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/staging/iio/cdc/ad7152.c +1 -1
index 25f51db..e7f082f 100644
@@ -362,7 +362,7 @@ static int ad7152_read_raw(struct iio_dev *indio_dev,
 		/* Trigger a single read */
 		regval |= AD7152_CONF_MODE_SINGLE_CONV;
 		ret = i2c_smbus_write_byte_data(chip->client, AD7152_REG_CFG,
-				regval);
+						regval);
 		if (ret < 0)
 			goto out;