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
..
2011-03-31 18:49:34 -03:00
2010-12-07 10:47:56 -08:00
2011-05-17 13:31:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-17 13:31:30 -07:00
2011-05-18 14:32:07 -07:00
2011-05-18 14:30:49 -07:00
2011-04-25 16:58:35 -07:00
2011-01-21 12:35:14 -08:00
2011-04-25 16:58:35 -07:00
2011-03-21 20:31:48 -03:00
2011-03-31 11:26:23 -03:00
2010-12-29 08:17:07 -02:00
2011-05-18 14:30:08 -07:00
2011-05-17 13:31:29 -07:00
2011-03-31 11:26:23 -03:00
2010-12-07 10:47:56 -08:00
2011-05-03 12:01:26 -07:00
2011-03-31 11:26:23 -03:00
2011-05-17 11:37:57 -07:00
2011-03-31 11:26:23 -03:00
2011-05-17 13:36:50 -07:00
2011-05-19 16:15:02 -07:00
2011-05-11 14:01:45 -07:00
2011-05-18 08:22:41 -07:00
2011-05-17 13:31:32 -07:00
2011-05-03 12:09:43 -07:00
2011-05-19 15:34:31 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 15:36:10 -07:00
2011-04-25 17:26:19 -07:00
2011-04-25 17:05:29 -07:00
2010-10-15 15:53:27 +02:00
2010-12-09 16:29:48 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-02-09 12:11:55 -08:00
2011-04-07 11:36:44 -07:00
2011-04-07 11:36:44 -07:00
2011-04-07 11:36:44 -07:00
2011-05-03 10:57:39 -07:00
2011-05-03 12:48:37 -07:00
2011-04-20 13:45:57 -07:00
2011-04-25 17:05:28 -07:00
2011-03-16 15:19:35 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 15:34:32 -07:00
2011-02-18 12:37:04 -08:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-25 16:45:22 -07:00
2011-05-19 15:34:10 -07:00
2011-03-31 11:26:23 -03:00
2011-05-06 09:27:34 -07:00
2011-05-17 11:37:57 -07:00
2011-04-25 16:58:35 -07:00
2011-04-20 13:48:25 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-26 15:46:28 -07:00
2011-02-23 14:02:56 -08:00
2011-02-23 14:02:56 -08:00
2011-05-19 15:36:10 -07:00
2011-05-19 15:36:10 -07:00