linux/drivers/iio
Jonathan Cameron 3704432fb1 iio: refactor info mask and ext_info attribute creation.
Introduce an enum to specify whether the attribute is separate or
shared.

Factor out the bitmap handling for loop into a separate function.

Tidy up error handling and add a NULL assignment to squish a false
positive warning from GCC.

Change ext_info shared type from boolean to enum and update in all
drivers.

Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Reviewed-by: Lars-Peter Clausen <lars@metafoo.de>
2013-09-15 17:43:20 +01:00
..
accel iio: add Bosch BMA180 acceleration sensor driver 2013-08-28 20:12:22 +01:00
adc iio: adc: Add driver for Microchip MCP3422/3/4 high resolution ADC 2013-09-07 22:17:44 +01:00
amplifiers iio: amplifiers: ad8366: Use devm_* APIs 2013-08-03 21:00:15 +01:00
common iio: sensors-core: st: Clean-up error handling in st_sensors_read_info_raw() 2013-09-14 21:17:16 +01:00
dac iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
frequency iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
gyro iio: gyro: adxrs450: Remove redundant break 2013-09-14 11:37:01 +01:00
imu iio: imu: inv_mpu6050: Use devm_iio_device_alloc 2013-08-03 18:55:24 +01:00
light iio: gp2ap020a00f: Add a driver for the device 2013-09-15 11:07:49 +01:00
magnetometer iio: Remove unnecessary _write_raw_get_fmt() in several hid-sensor drivers 2013-08-19 20:01:25 +01:00
pressure iio: pressure-core: st: Allow for number of channels to vary 2013-09-14 21:17:17 +01:00
temperature iio: Add tmp006 IR temperature sensor 2013-08-17 15:50:53 +01:00
trigger iio: Add a comment to about alphabetical order to Kconfigs and Makefiles 2013-08-03 18:40:36 +01:00
buffer_cb.c iio:callback buffer: free the scan_mask 2013-06-04 18:19:30 +01:00
iio_core_trigger.h iio: fix semicolon in io_core_trigger.h 2013-08-03 18:40:32 +01:00
iio_core.h iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
industrialio-buffer.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
industrialio-core.c iio: refactor info mask and ext_info attribute creation. 2013-09-15 17:43:20 +01:00
industrialio-event.c iio: use anon_inode_getfd() with O_CLOEXEC flag 2013-09-15 17:27:15 +01:00
industrialio-trigger.c iio: trigger: implement devm_iio_trigger_alloc/devm_iio_triger_free 2013-08-17 19:34:52 +01:00
industrialio-triggered-buffer.c iio: Add helper function for initializing triggered buffers 2012-06-18 17:26:09 -07:00
inkern.c iio: inkern: fix iio_convert_raw_to_processed_unlocked 2013-07-03 20:30:52 +01:00
Kconfig iio: Add tmp006 IR temperature sensor 2013-08-17 15:50:53 +01:00
kfifo_buf.c iio:kfifo_buf: Use wake_up_interruptible_poll() 2013-09-15 17:39:04 +01:00
Makefile iio: Restore alphabetic order in Makefile 2013-08-17 15:50:54 +01:00