Skip to content

Commit

Permalink
staging:iio:adc:ad7606 trivial code style fix.
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Jonathan Cameron authored and Greg Kroah-Hartman committed Oct 3, 2011
1 parent 50ac23b commit 0b89525
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions drivers/staging/iio/adc/ad7606_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit 0b89525

Please sign in to comment.