Jonathan Cameron wrote on 2011-09-23: > Signed-off-by: Jonathan Cameron <jic23@xxxxxxxxx> Acked-by: Michael Hennerich <michael.hennerich@xxxxxxxxxx> > --- > 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"); Greetings, Michael -- Analog Devices GmbH Wilhelm-Wagenfeld-Str. 6 80807 Muenchen Sitz der Gesellschaft: Muenchen; Registergericht: Muenchen HRB 40368; Geschaeftsfuehrer:Dr.Carsten Suckrow, Thomas Wessel, William A. Martin, Margaret Seif -- To unsubscribe from this list: send the line "unsubscribe linux-iio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html