summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/accel/lis3l02dq.h
diff options
context:
space:
mode:
authorJonathan Cameron2010-06-26 13:54:15 +0200
committerGreg Kroah-Hartman2010-07-08 21:25:27 +0200
commitd0348e50561a2701428186dd0550b3b2961e0bea (patch)
tree4ae14d8bb647aa8c3856d0b38e70c19b79cb2682 /drivers/staging/iio/accel/lis3l02dq.h
parentstaging:iio:max1363 trivial code and comment cleanups. (diff)
downloadkernel-qcow2-linux-d0348e50561a2701428186dd0550b3b2961e0bea.tar.gz
kernel-qcow2-linux-d0348e50561a2701428186dd0550b3b2961e0bea.tar.xz
kernel-qcow2-linux-d0348e50561a2701428186dd0550b3b2961e0bea.zip
staging:iio:lis3l02dq cleanups
Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/lis3l02dq.h')
-rw-r--r--drivers/staging/iio/accel/lis3l02dq.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq.h b/drivers/staging/iio/accel/lis3l02dq.h
index 0ffa0bbdcd4f..a9adae3a4cd7 100644
--- a/drivers/staging/iio/accel/lis3l02dq.h
+++ b/drivers/staging/iio/accel/lis3l02dq.h
@@ -150,7 +150,7 @@ Form of high byte dependant on justification set in ctrl reg */
* struct lis3l02dq_state - device instance specific data
* @us: actual spi_device
* @work_trigger_to_ring: bh for triggered event handling
- * @work_cont_thresh: CLEAN
+ * @work_thresh: bh for threshold events
* @inter: used to check if new interrupt has been triggered
* @last_timestamp: passing timestamp from th to bh of interrupt handler
* @indio_dev: industrial I/O device structure
@@ -162,7 +162,7 @@ Form of high byte dependant on justification set in ctrl reg */
struct lis3l02dq_state {
struct spi_device *us;
struct work_struct work_trigger_to_ring;
- struct iio_work_cont work_cont_thresh;
+ struct work_struct work_thresh;
bool inter;
s64 last_timestamp;
struct iio_dev *indio_dev;