Skip to contentSkip to conversation

iio: gyro: clean up indentation issue

PATCH In review Colin King 2 participants 2 messages Sep 25, 2019 – Oct 6, 2019

Subsystems (2)
lore
Share & tools
lore

Colin King

author
#0 lore raw

PATCH 1/1 iio: gyro: clean up indentation issue

From: Colin Ian King <[email protected]>

There is a return statement that is indented incorrectly, add in the missing tab.

---
 drivers/iio/gyro/itg3200_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/gyro/itg3200_core.c +1 -1
index 998fb8d66fe3..981ae2291505 100644
@@ -154,7 +154,7 @@ static int itg3200_write_raw(struct iio_dev *indio_dev,
 					  t);
 
 		mutex_unlock(&indio_dev->mlock);
-	return ret;
+		return ret;
 
 	default:
 		return -EINVAL;
Signature · 1 line
2.20.1
maintainer
#1 lore raw
Quoted 6 lines · On Wed, 25 Sep 2019 13:32:53 +0100 Colin King <[email protected]> wrote:

From: Colin Ian King <[email protected]>

There is a return statement that is indented incorrectly, add in the missing tab.

Applied to the togreg branch of iio.git and pushed out as testing for the autobuilders to ignore it.

Thanks,

Jonathan

Quoted 17 lines
---
 drivers/iio/gyro/itg3200_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/iio/gyro/itg3200_core.c +1 -1
index 998fb8d66fe3..981ae2291505 100644
@@ -154,7 +154,7 @@ static int itg3200_write_raw(struct iio_dev *indio_dev,
 					  t);
 
 		mutex_unlock(&indio_dev->mlock);
-	return ret;
+		return ret;
 
 	default:
 		return -EINVAL;