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 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-04-12 17:18:05 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-01-26 10:50:04 +10:00
2011-03-30 17:14:33 -07:00
2011-03-31 11:26:23 -03:00
2011-02-15 10:24:31 +01:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:12 -07:00
2011-04-11 15:44:38 -07:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-22 17:44:15 -07:00
2011-04-11 15:44:38 -07:00
2011-04-13 09:20:24 +10:00
2011-04-07 11:14:49 -07:00
2011-04-07 11:14:49 -07:00
2011-03-18 17:15:11 -07:00
2011-04-17 10:20:19 +02:00
2011-04-07 11:14:49 -07:00
2011-02-28 11:04:45 -05:00
2011-03-17 14:05:34 +01:00
2011-03-31 11:26:23 -03:00
2011-04-18 13:29:03 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:54 -07:00
2011-03-31 11:26:23 -03:00
2011-04-07 11:14:49 -07:00
2011-04-18 18:25:43 +10:00
2011-04-07 11:14:49 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-12 11:13:00 +02:00
2011-04-14 16:06:55 -07:00
2011-03-31 11:26:23 -03:00
2011-04-09 13:23:50 -07:00
2011-04-11 07:27:24 -07:00
2011-02-25 15:07:36 -08:00
2011-03-31 11:26:23 -03:00
2011-02-15 11:10:20 +01:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-11 22:54:42 +02:00
2011-04-13 09:30:40 +08:00
2011-04-13 09:15:55 -07:00
2011-03-31 11:26:23 -03:00
2011-03-29 14:48:19 +02:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-04-14 16:06:56 -07:00
2011-03-31 11:26:23 -03:00
2011-04-16 09:45:08 -07:00
2011-04-08 07:36:14 -07:00
2011-03-31 11:26:23 -03:00
2011-04-18 11:41:33 +02:00
2011-03-31 11:26:23 -03:00
2011-03-30 00:15:49 +02:00
2011-04-11 15:44:38 -07:00
2011-03-31 11:26:23 -03:00
2011-05-19 16:15:02 -07:00
2011-03-31 11:26:23 -03:00
2011-03-31 11:26:23 -03:00
2011-03-02 19:47:57 -05:00
2011-04-07 12:48:45 -07:00
2011-03-31 11:26:23 -03:00
2011-04-14 13:37:07 -07:00
2011-03-31 11:26:23 -03:00
2011-03-13 23:08:19 +02:00
2011-04-12 23:07:42 +08:00
2011-03-28 19:33:04 +02:00
2011-03-31 11:26:23 -03:00
2011-04-07 20:20:24 +00:00
2011-04-12 17:18:05 -07:00
2011-02-17 09:52:03 -08:00
2011-02-17 09:52:03 -08:00