linux-stable/include/linux/iio
Lukas Wunner 8d05ffd2b8 iio: Add macro to populate struct iio_map array
The GPIO core provides a handy GPIO_LOOKUP() macro to populate a struct
gpiod_lookup array without having to spell out attribute names (but
still avoid breakage when attributes within the struct are rearranged
or added).

The axp288_adc.c driver uses a similar macro to populate a struct
iio_map array.  Make it available to others.

Cc: Jacob Pan <jacob.jun.pan@linux.intel.com>
Signed-off-by: Lukas Wunner <lukas@wunner.de>
Acked-by: Chen-Yu Tsai <wens@csie.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
2017-12-02 13:28:21 +00:00
..
accel
adc iio: ad_sigma_delta: Implement a dedicated reset function 2017-09-24 16:58:21 +01:00
common iio: st_sensors: split open-drain parameters for irq1 and irq2 2017-10-10 20:38:39 +01:00
dac License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
frequency
gyro
imu
magnetometer License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
timer - New Drivers 2017-09-07 13:51:13 -07:00
buffer-dma.h
buffer-dmaengine.h
buffer.h iio:buffer.h - split into buffer.h and buffer_impl.h 2017-01-10 19:54:55 +00:00
buffer_impl.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
configfs.h
consumer.h iio: inkern: api for manipulating ext_info of iio channels 2017-06-03 19:29:26 +09:00
driver.h
events.h
iio.h iio: Drop duplicate forward declaration 2017-10-14 18:29:20 +01:00
kfifo_buf.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
machine.h iio: Add macro to populate struct iio_map array 2017-12-02 13:28:21 +00:00
sw_device.h iio: make function argument and some structures const 2017-10-19 16:15:24 +02:00
sw_trigger.h iio: make function argument and some structures const 2017-10-19 16:15:24 +02:00
sysfs.h include: linux: iio: add IIO_ATTR_{RO, WO, RW} and IIO_DEVICE_ATTR_{RO, WO, RW} macros 2016-10-01 14:43:59 +01:00
trigger.h Round one of new device support, features and cleanup for IIO in the 4.15 cycle. 2017-09-25 12:56:37 +02:00
trigger_consumer.h
triggered_buffer.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
triggered_event.h License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00
types.h iio:core: add a callback to allow drivers to provide _available attributes 2016-11-13 11:40:25 +00:00