iio: kfifo: Remove unused argument in iio_kfifo_allocate
authorKarol Wrona <k.wrona@samsung.com>
Fri, 19 Dec 2014 17:39:24 +0000 (18:39 +0100)
committerJonathan Cameron <jic23@kernel.org>
Fri, 26 Dec 2014 11:20:38 +0000 (11:20 +0000)
commit7ab374a053a43050117eb452306b6cd9dcb58cfd
tree1605369c59a8e0d07a788f17c93ae02cbcd46e2c
parent614e8842ddf5502f0e781f91695bfbc1e1e1d9b6
iio: kfifo: Remove unused argument in iio_kfifo_allocate

indio_dev was unused in function body plus some small style fix - add new
lines after "if(sth) return sth" and before the last return statement.

The argument was removed also in its client.

Signed-off-by: Karol Wrona <k.wrona@samsung.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ti_am335x_adc.c
drivers/iio/industrialio-triggered-buffer.c
drivers/iio/kfifo_buf.c
drivers/staging/iio/accel/lis3l02dq_ring.c
drivers/staging/iio/iio_simple_dummy_buffer.c
drivers/staging/iio/impedance-analyzer/ad5933.c
drivers/staging/iio/meter/ade7758_ring.c
include/linux/iio/kfifo_buf.h