diff mbox series

iio: gyro: clean up indentation issue

Message ID 20190925123253.11944-1-colin.king@canonical.com (mailing list archive)
State New, archived
Headers show
Series iio: gyro: clean up indentation issue | expand

Commit Message

Colin King Sept. 25, 2019, 12:32 p.m. UTC
From: Colin Ian King <colin.king@canonical.com>

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

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/iio/gyro/itg3200_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron Oct. 6, 2019, 8:47 a.m. UTC | #1
On Wed, 25 Sep 2019 13:32:53 +0100
Colin King <colin.king@canonical.com> wrote:

> From: Colin Ian King <colin.king@canonical.com>
> 
> There is a return statement that is indented incorrectly, add in
> the missing tab.
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>
Applied to the togreg branch of iio.git and pushed out as testing
for the autobuilders to ignore it.

Thanks,

Jonathan

> ---
>  drivers/iio/gyro/itg3200_core.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
> index 998fb8d66fe3..981ae2291505 100644
> --- a/drivers/iio/gyro/itg3200_core.c
> +++ b/drivers/iio/gyro/itg3200_core.c
> @@ -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;
diff mbox series

Patch

diff --git a/drivers/iio/gyro/itg3200_core.c b/drivers/iio/gyro/itg3200_core.c
index 998fb8d66fe3..981ae2291505 100644
--- a/drivers/iio/gyro/itg3200_core.c
+++ b/drivers/iio/gyro/itg3200_core.c
@@ -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;