8e336a722bb234f9d7805647e0290f2a397ca04d |
|
10-Jul-2011 |
Paul Gortmaker <paul.gortmaker@windriver.com> |
staging: Add export.h for THIS_MODULE/EXPORT_SYMBOL to drivers/staging users. Lots of drivers have in the past expected the presence of basic things like THIS_MODULE and EXPORT_SYMBOL. With the header cleanup, they wont have these. Call out the include explicitly. Signed-off-by: Paul Gortmaker <paul.gortmaker@windriver.com>
|
779921683e6d907e5d2f8deb3c1296d6a1633c94 |
|
12-Aug-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:accel header housekeeping - remove unecessary includes. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
d29f73db791098179af90e6a5b1df41f941b32cd |
|
12-Aug-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:triggers introduce iio_trigger_ops to take const bits out of iio_trig_structure. Right now this results in increased code, but I still think it is worth doing to avoid replication across instances of drivers etc and move as much stuff as possible to constant. Ops structure is optional for the occasional driver that uses none of it (currently only the ad7793). Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
a22ff7066c0561c2aa92967f0eed4a1c77f088e7 |
|
27-Jun-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:accel:adis16240 allocate tx and rx in state plus state via iio_priv Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
59c85e82c2e7a672cb4342dc5ccf9df8a3a14f73 |
|
18-May-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
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>
|
cd69f57dee75cb27337bf5438359aae86503873f |
|
18-May-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:accel:adis16240 move to chan_spec based setup. For clean drivers its easier to convert to chan_spec based registration than to work around the scan_el attributes going away. Some minor cleanups done whilst here. Untested. V2: IIO_CHAN macro use updated. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
d6d30d2685ca7605c5e142f40b8e0777d54755c2 |
|
18-May-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:accel:adis16240 move to irqchip based trigger handling. Untested. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
bdd560c52b023cd23b6b082ca64c062cacc23e3f |
|
18-Apr-2011 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging:iio:adis16240 replace unnecessary event line registration. Untested but identical in form to those that have been. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Michael Hennerich <michael.hennerich@analog.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
9dbfb6f14a85ef4af5c0a8a49a5ff57591171ad1 |
|
04-Sep-2010 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging: iio: Make use of the convenient IIO_TRIGGER_NAME_ATTR macro Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Acked-by: Manuel Stahl <manuel.stahl@iis.fraunhofer.de> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
7b2c33b11ef003d83c87a58201ff42313e13eff4 |
|
11-Jul-2010 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging: iio: remove timestamp field from trigger and pass instead through pollfuncs Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
3c9bbf58b2a7e9099343d36a2c0b206f8c2450df |
|
11-Jul-2010 |
Jonathan Cameron <jic23@cam.ac.uk> |
staging: iio: Use kasprintf to allocate and fill trig->name Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|
2c834b4d2d30c8f8ae5365a66c50da95aed7b7ea |
|
07-May-2010 |
Barry Song <Barry.Song@analog.com> |
staging: iio: adis16240 driver Signed-off-by: Barry Song <Barry.Song@analog.com> Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
|