diff mbox series

[1/2] staging: iio: adc: ad7192: Fix identation

Message ID 20190315111425.14275-1-mircea.caprioru@analog.com (mailing list archive)
State New, archived
Headers show
Series [1/2] staging: iio: adc: ad7192: Fix identation | expand

Commit Message

Mircea Caprioru March 15, 2019, 11:14 a.m. UTC
This patch fixes the odd indentation inside function ad7192_calibrate_all.

Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
---
 drivers/staging/iio/adc/ad7192.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Jonathan Cameron March 16, 2019, 4:39 p.m. UTC | #1
On Fri, 15 Mar 2019 13:14:24 +0200
Mircea Caprioru <mircea.caprioru@analog.com> wrote:

> This patch fixes the odd indentation inside function ad7192_calibrate_all.
> 
> Signed-off-by: Mircea Caprioru <mircea.caprioru@analog.com>
Applied to the togreg branch of iio.git and pushed out as testing
Thanks.

Jonathan

> ---
>  drivers/staging/iio/adc/ad7192.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
> index acdbc07fd259..ebab75bdeed7 100644
> --- a/drivers/staging/iio/adc/ad7192.c
> +++ b/drivers/staging/iio/adc/ad7192.c
> @@ -216,8 +216,8 @@ static const struct ad_sd_calib_data ad7192_calib_arr[8] = {
>  
>  static int ad7192_calibrate_all(struct ad7192_state *st)
>  {
> -		return ad_sd_calibrate_all(&st->sd, ad7192_calib_arr,
> -				ARRAY_SIZE(ad7192_calib_arr));
> +	return ad_sd_calibrate_all(&st->sd, ad7192_calib_arr,
> +				   ARRAY_SIZE(ad7192_calib_arr));
>  }
>  
>  static inline bool ad7192_valid_external_frequency(u32 freq)
diff mbox series

Patch

diff --git a/drivers/staging/iio/adc/ad7192.c b/drivers/staging/iio/adc/ad7192.c
index acdbc07fd259..ebab75bdeed7 100644
--- a/drivers/staging/iio/adc/ad7192.c
+++ b/drivers/staging/iio/adc/ad7192.c
@@ -216,8 +216,8 @@  static const struct ad_sd_calib_data ad7192_calib_arr[8] = {
 
 static int ad7192_calibrate_all(struct ad7192_state *st)
 {
-		return ad_sd_calibrate_all(&st->sd, ad7192_calib_arr,
-				ARRAY_SIZE(ad7192_calib_arr));
+	return ad_sd_calibrate_all(&st->sd, ad7192_calib_arr,
+				   ARRAY_SIZE(ad7192_calib_arr));
 }
 
 static inline bool ad7192_valid_external_frequency(u32 freq)