iio: core: organize buffer file-ops in the order defined in the struct
authorAlexandru Ardelean <alexandru.ardelean@analog.com>
Tue, 17 Nov 2020 10:37:53 +0000 (12:37 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sat, 21 Nov 2020 16:03:39 +0000 (16:03 +0000)
commitee8caea0c1449271d6f03145d367423dc5d8749c
tree133d1e9157f4cd9881c46103032fc0f4f49c915f
parentd59377023d4a30e0bb0eac38c813224ce8bc61ec
iio: core: organize buffer file-ops in the order defined in the struct

The change is mostly cosmetic. This organizes the order of assignment of
the members of 'iio_buffer_fileops' to be similar to the one as defined in
the 'struct file_operations' type.

Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Link: https://lore.kernel.org/r/20201117103753.8450-1-alexandru.ardelean@analog.com
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/industrialio-core.c