staging:iio:adc:ad7606 trivial code style fix.
authorJonathan Cameron <jic23@cam.ac.uk>
Fri, 30 Sep 2011 09:05:39 +0000 (10:05 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 3 Oct 2011 23:07:04 +0000 (16:07 -0700)
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Michael Hennerich <michael.hennerich@analog.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/iio/adc/ad7606_core.c

index 7ea5232c7cea8999942bcfa60e5d34aae7db455c..02b0a5b1e123636fa24abc76afca4c495f0fdadd 100644 (file)
@@ -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");