iio: add struct declaration for iio types
authorGerald Loacker <gerald.loacker@wolfvision.net>
Thu, 1 Dec 2022 07:22:18 +0000 (08:22 +0100)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Wed, 28 Dec 2022 17:19:44 +0000 (17:19 +0000)
commit08f01cc1d6e240092a6d9bfa21652622657f38f0
tree3672986f747c10010a2c5a0cd160ee662fd7f275
parent1b929c02afd37871d5afb9d498426f83432e71c2
iio: add struct declaration for iio types

Add struct for iio type arrays such as IIO_AVAIL_LIST which can be used
instead of int arrays.

Signed-off-by: Gerald Loacker <gerald.loacker@wolfvision.net>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20221201072220.402585-2-gerald.loacker@wolfvision.net
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
include/linux/iio/iio.h