summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/chrdev.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-05-18 15:42:21 +0200
committerGreg Kroah-Hartman2011-05-20 01:15:02 +0200
commit3b8ebfb47f0cacc82c88b6f886ad84d78d6fdd61 (patch)
tree19f2692214e39d20c145b2d189fb5fc56f301c0f /drivers/staging/iio/chrdev.h
parentstaging:iio:lis3l02dq remerge the two interrupt handlers. (diff)
downloadkernel-qcow2-linux-3b8ebfb47f0cacc82c88b6f886ad84d78d6fdd61.tar.gz
kernel-qcow2-linux-3b8ebfb47f0cacc82c88b6f886ad84d78d6fdd61.tar.xz
kernel-qcow2-linux-3b8ebfb47f0cacc82c88b6f886ad84d78d6fdd61.zip
staging:iio: iio_event_interfaces - clean out unused elements
Also removed const casting of _name that was unnecessary. 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.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/staging/iio/chrdev.h b/drivers/staging/iio/chrdev.h
index 10491f0e179e..6523273d563a 100644
--- a/drivers/staging/iio/chrdev.h
+++ b/drivers/staging/iio/chrdev.h
@@ -60,24 +60,18 @@ struct iio_detected_event_list {
* @det_events: list of detected events
* @max_events: maximum number of events before new ones are dropped
* @current_events: number of events in detected list
- * @owner: ensure the driver module owns the file, not iio
- * @private: driver specific data
* @_name: used internally to store the sysfs name for minor id
* attribute
- * @_attrname: the event interface's attribute name
*/
struct iio_event_interface {
struct device dev;
struct iio_handler handler;
wait_queue_head_t wait;
struct mutex event_list_lock;
- struct iio_detected_event_list det_events;
+ struct list_head det_events;
int max_events;
int current_events;
- struct module *owner;
- void *private;
char _name[35];
- char _attrname[20];
struct list_head dev_attr_list;
};