diff options
author | Jonathan Cameron | 2011-08-30 13:32:46 +0200 |
---|---|---|
committer | Greg Kroah-Hartman | 2011-09-07 00:59:10 +0200 |
commit | 6356463cf4627f599547f0698853ef419b2d2f1d (patch) | |
tree | e333daafb3f5c033e202403d4ccb0a9220689d92 /drivers/staging/iio/chrdev.h | |
parent | staging: iio: remove specific chrdev for event reading. Get fd from ioctl on ... (diff) | |
download | kernel-qcow2-linux-6356463cf4627f599547f0698853ef419b2d2f1d.tar.gz kernel-qcow2-linux-6356463cf4627f599547f0698853ef419b2d2f1d.tar.xz kernel-qcow2-linux-6356463cf4627f599547f0698853ef419b2d2f1d.zip |
staging: iio: squash chrdev handler remains into users.
This no longer has any purpose given all chrdevs are pretty much the same
now the event interfaces are done via anon fds
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/chrdev.h')
-rw-r--r-- | drivers/staging/iio/chrdev.h | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/staging/iio/chrdev.h b/drivers/staging/iio/chrdev.h index c6bd04c4bb42..28cce12346a3 100644 --- a/drivers/staging/iio/chrdev.h +++ b/drivers/staging/iio/chrdev.h @@ -11,25 +11,6 @@ #define _IIO_CHRDEV_H_ /** - * struct iio_handler - Structure used to specify file operations - * for a particular chrdev - * @chrdev: character device structure - * @id: the location in the handler table - used for deallocation. - * @flags: file operations related flags including busy flag. - * @private: handler specific data used by the fileops registered with - * the chrdev. - */ -struct iio_handler { - struct cdev chrdev; - int id; - unsigned long flags; - void *private; -}; - -#define iio_cdev_to_handler(cd) \ - container_of(cd, struct iio_handler, chrdev) - -/** * struct iio_event_data - The actual event being pushed to userspace * @id: event identifier * @timestamp: best estimate of time of event occurrence (often from |