diff mbox series

[06/10] iio: imu: adis16480: fix indentation of return statement

Message ID 20191101093505.9408-7-alexandru.ardelean@analog.com (mailing list archive)
State New, archived
Headers show
Series iio: adis: cleanups and fixes | expand

Commit Message

Alexandru Ardelean Nov. 1, 2019, 9:35 a.m. UTC
This is just a minor indentation/alignment fix for the default case of a
switch statement.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
---
 drivers/iio/imu/adis16480.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron Nov. 3, 2019, 10:35 a.m. UTC | #1
On Fri, 1 Nov 2019 11:35:01 +0200
Alexandru Ardelean <alexandru.ardelean@analog.com> wrote:

> This is just a minor indentation/alignment fix for the default case of a
> switch statement.
> 
> Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Applied,

Thanks,

Jonathan

> ---
>  drivers/iio/imu/adis16480.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
> index 86801f3c5f0d..d199d3d3c4bd 100644
> --- a/drivers/iio/imu/adis16480.c
> +++ b/drivers/iio/imu/adis16480.c
> @@ -459,7 +459,7 @@ static int adis16480_get_calibbias(struct iio_dev *indio_dev,
>  		*bias = sign_extend32(val32, 31);
>  		break;
>  	default:
> -			ret = -EINVAL;
> +		ret = -EINVAL;
>  	}
>  
>  	if (ret)
diff mbox series

Patch

diff --git a/drivers/iio/imu/adis16480.c b/drivers/iio/imu/adis16480.c
index 86801f3c5f0d..d199d3d3c4bd 100644
--- a/drivers/iio/imu/adis16480.c
+++ b/drivers/iio/imu/adis16480.c
@@ -459,7 +459,7 @@  static int adis16480_get_calibbias(struct iio_dev *indio_dev,
 		*bias = sign_extend32(val32, 31);
 		break;
 	default:
-			ret = -EINVAL;
+		ret = -EINVAL;
 	}
 
 	if (ret)