iio: ti_am335x_adc: Adjust the closing bracket in tiadc_read_raw()

It somehow looks like the ending bracket belongs to the if statement but
it does belong to the while loop. This patch moves the bracket where it
belongs.

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Acked-by: Jonathan Cameron <jic23@kernel.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Sebastian Andrzej Siewior 2013-12-19 16:28:27 +01:00 committed by Lee Jones
parent 6ce4eac1f6
commit fb7f8ce3bc

View file

@ -338,7 +338,7 @@ static int tiadc_read_raw(struct iio_dev *indio_dev,
while (tiadc_readl(adc_dev, REG_ADCFSM) & SEQ_STATUS) {
if (time_after(jiffies, timeout))
return -EAGAIN;
}
}
map_val = chan->channel + TOTAL_CHANNELS;
/*