Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1380598 > unrolled thread

Re: [PATCH 1/2] iio: adc: Indent if statement

Started byJonathan Cameron <jic23@kernel.org>
First post2016-04-16 21:30 +0200
Last post2016-04-16 21:30 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: [PATCH 1/2] iio: adc: Indent if statement Jonathan Cameron <jic23@kernel.org> - 2016-04-16 21:30 +0200

#1380598 — Re: [PATCH 1/2] iio: adc: Indent if statement

FromJonathan Cameron <jic23@kernel.org>
Date2016-04-16 21:30 +0200
SubjectRe: [PATCH 1/2] iio: adc: Indent if statement
Message-ID<roE4P-bD-33@gated-at.bofh.it>
On 10/04/16 20:20, Ksenija Stanojevic wrote:
> Indent lines inside if statement.
> 
> Signed-off-by: Ksenija Stanojevic <ksenija.stanojevic@gmail.com>
Applied to the togreg branch of iio.git - initially pushed out as testing.

Thanks,

Jonathan
> ---
>  drivers/iio/adc/mxs-lradc.c | 7 ++++---
>  1 file changed, 4 insertions(+), 3 deletions(-)
> 
> diff --git a/drivers/iio/adc/mxs-lradc.c b/drivers/iio/adc/mxs-lradc.c
> index 33051b8..07287af 100644
> --- a/drivers/iio/adc/mxs-lradc.c
> +++ b/drivers/iio/adc/mxs-lradc.c
> @@ -1500,9 +1500,10 @@ static int mxs_lradc_hw_init(struct mxs_lradc *lradc)
>  		mxs_lradc_reg_clear(lradc, LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE,
>  				    LRADC_CTRL0);
>  
> -	if (lradc->use_touchscreen == MXS_LRADC_TOUCHSCREEN_5WIRE)
> -		mxs_lradc_reg_set(lradc, LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE,
> -				  LRADC_CTRL0);
> +		if (lradc->use_touchscreen == MXS_LRADC_TOUCHSCREEN_5WIRE)
> +			mxs_lradc_reg_set(lradc,
> +					  LRADC_CTRL0_MX28_TOUCH_SCREEN_TYPE,
> +					  LRADC_CTRL0);
>  	}
>  
>  	/* Start internal temperature sensing. */
> 

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web