diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-09-30 09:05:39 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-10-03 23:07:04 (GMT) |
commit | 0b89525dfcb8b90b5992d6de1433aa04b0a04b3a (patch) | |
tree | 4c695c6225a74f5c5237dd4053f6a75b8c2653b5 /drivers/staging | |
parent | 50ac23be392c7bc88193247e85baddbcd08150ee (diff) | |
download | linux-fsl-qoriq-0b89525dfcb8b90b5992d6de1433aa04b0a04b3a.tar.xz |
staging:iio:adc:ad7606 trivial code style fix.
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>
Diffstat (limited to 'drivers/staging')
-rw-r--r-- | drivers/staging/iio/adc/ad7606_core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/iio/adc/ad7606_core.c b/drivers/staging/iio/adc/ad7606_core.c index 7ea5232..02b0a5b 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"); |