summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/chrdev.h
diff options
context:
space:
mode:
authorJonathan Cameron2011-05-18 15:42:33 +0200
committerGreg Kroah-Hartman2011-05-20 01:15:04 +0200
commitc74b0de1666f8b8f6c65e1e944deff71fed0769a (patch)
treed660d62478d8c6e567851fe7342b54ffcb155706 /drivers/staging/iio/chrdev.h
parentstaging:iio: poll func allocation clean up. (diff)
downloadkernel-qcow2-linux-c74b0de1666f8b8f6c65e1e944deff71fed0769a.tar.gz
kernel-qcow2-linux-c74b0de1666f8b8f6c65e1e944deff71fed0769a.tar.xz
kernel-qcow2-linux-c74b0de1666f8b8f6c65e1e944deff71fed0769a.zip
staging:iio:core cleanup: squash tiny wrappers and use dev_set_name to handle creation of event interface name.
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.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/iio/chrdev.h b/drivers/staging/iio/chrdev.h
index 6523273d563a..3e31ee6220ed 100644
--- a/drivers/staging/iio/chrdev.h
+++ b/drivers/staging/iio/chrdev.h
@@ -60,8 +60,6 @@ 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
- * @_name: used internally to store the sysfs name for minor id
- * attribute
*/
struct iio_event_interface {
struct device dev;
@@ -71,7 +69,6 @@ struct iio_event_interface {
struct list_head det_events;
int max_events;
int current_events;
- char _name[35];
struct list_head dev_attr_list;
};