mirror of https://gitee.com/openkylin/linux.git
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>
This commit is contained in:
parent
50ac23be39
commit
0b89525dfc
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue