dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/drivers/staging/iio/trigger
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
..
Kconfig iio: trigger: iio-trig-bfin-timer: select missing dependency 2011-05-12 09:26:57 -07:00
Makefile staging: IIO: trigger: New Blackfin specific trigger driver iio-trig-bfin-timer 2011-02-23 14:40:04 -08:00
iio-trig-bfin-timer.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
iio-trig-gpio.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
iio-trig-periodic-rtc.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
iio-trig-sysfs.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