diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-05-18 14:42:22 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-05-19 16:15:02 -0700 |
commit | 59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73 (patch) | |
tree | 7df58c13e2254bf55692a20841bc3553583d11ef /drivers/scsi/sni_53c710.c | |
parent | 3b8ebfb47f0cacc82c88b6f886ad84d78d6fdd61 (diff) | |
download | kernel_samsung_aries-59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73.zip kernel_samsung_aries-59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73.tar.gz kernel_samsung_aries-59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73.tar.bz2 |
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>
Diffstat (limited to 'drivers/scsi/sni_53c710.c')
0 files changed, 0 insertions, 0 deletions