1
linux/drivers/staging/iio
Jonathan Cameron 59c85e82c2 staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device
As the majority of triggers don't actually have any other control_attrs lets use the fact
that struct device has a groups element when we do need to have these attributes registered.
A vargs function is used to cut down on lots of building strings in every single driver
just in order to pass them into the allocate.

Also iio_allocate_trigger_named -> iio_allocate_trigger as there is no
unamed version any more, so that is now just confusing.

Blackfin tested and fixed by Michael Hennerich.

V2: Elements from Michael Hennerich's patches for the ade7758

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-05-19 16:15:02 -07:00
..
accel staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
adc staging:iio:buffer - remove unused event code for buffer events. 2011-05-19 16:15:01 -07:00
addac staging:iio:addac:adt7316 replace abuse of buffer events. 2011-05-19 16:15:01 -07:00
dac staging:iio: use the new central name attribute creation code 2011-05-19 16:14:54 -07:00
dds staging:iio: use the new central name attribute creation code 2011-05-19 16:14:54 -07:00
Documentation staging:iio:Documentation generic_buffer.c update to new abi for buffers + misc fixes 2011-05-19 16:14:48 -07:00
gyro staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
imu staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
light staging:iio:light:tsl2563: chan_spec based channel setup. 2011-05-19 16:14:54 -07:00
magnetometer staging:iio: Add ability to allocate private data space to iio_allocate_device 2011-04-25 17:23:09 -07:00
meter staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
resolver staging:iio: Add ability to allocate private data space to iio_allocate_device 2011-04-25 17:23:09 -07:00
trigger staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
chrdev.h staging:iio: iio_event_interfaces - clean out unused elements 2011-05-19 16:15:02 -07:00
iio.h staging:iio:buffer - remove unused event code for buffer events. 2011-05-19 16:15:01 -07:00
industrialio-core.c staging:iio: iio_event_interfaces - clean out unused elements 2011-05-19 16:15:02 -07:00
industrialio-ring.c staging:iio: rip out scan_el attributes. Now handled as iio_dev_attrs like everything else. 2011-05-19 16:14:59 -07:00
industrialio-trigger.c staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00
Kconfig staging:iio: Add infrastructure for irq_chip based triggers 2011-05-19 16:14:48 -07:00
kfifo_buf.c staging:iio:buffering remove unused parameter dead_offset from read_last_n in all buffer implementations. 2011-05-19 16:06:13 -07:00
kfifo_buf.h staging:iio:buffering remove unused parameter dead_offset from read_last_n in all buffer implementations. 2011-05-19 16:06:13 -07:00
Makefile staging:iio:kfifo buffer implementation 2011-02-18 13:22:51 -08:00
ring_generic.h staging:iio: rip out scan_el attributes. Now handled as iio_dev_attrs like everything else. 2011-05-19 16:14:59 -07:00
ring_hw.h
ring_sw.c staging:iio:ring_sw add function needed for threaded irq. 2011-05-19 16:14:49 -07:00
ring_sw.h staging:iio:ring_sw add function needed for threaded irq. 2011-05-19 16:14:49 -07:00
sysfs.h staging:iio:buffer - remove unused event code for buffer events. 2011-05-19 16:15:01 -07:00
TODO
trigger_consumer.h
trigger.h staging:iio:trigger handle name attr in core, remove old alloc and register any control_attrs via struct device 2011-05-19 16:15:02 -07:00