From 0b89525dfcb8b90b5992d6de1433aa04b0a04b3a Mon Sep 17 00:00:00 2001 From: Jonathan Cameron Date: Fri, 30 Sep 2011 10:05:39 +0100 Subject: [PATCH] staging:iio:adc:ad7606 trivial code style fix. Signed-off-by: Jonathan Cameron Acked-by: Michael Hennerich Signed-off-by: Greg Kroah-Hartman --- drivers/staging/iio/adc/ad7606_core.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/iio/adc/ad7606_core.c b/drivers/staging/iio/adc/ad7606_core.c index 7ea5232c7cea..02b0a5b1e123 100644 --- a/drivers/staging/iio/adc/ad7606_core.c +++ b/drivers/staging/iio/adc/ad7606_core.c @@ -329,9 +329,8 @@ static int ad7606_request_gpios(struct ad7606_state *st) } ret = gpio_request_array(gpio_array, ARRAY_SIZE(gpio_array)); - if (!ret) { + if (!ret) st->have_os = true; - } ret = gpio_request_one(st->pdata->gpio_reset, GPIOF_OUT_INIT_LOW, "AD7606_RESET"); -- 2.20.1