diff options
author | Peter Meerwald <pmeerw@pmeerw.net> | 2014-12-06 01:46:00 -0500 |
---|---|---|
committer | Jonathan Cameron <jic23@kernel.org> | 2014-06-14 11:25:59 -0400 |
commit | 398fd22b6b94cb15c1c299bceecd63644a1b17b4 (patch) | |
tree | fe941bcc754089e09a7c7a16069c54882b51f58e /drivers/iio/trigger | |
parent | aff8945566f0352b39244a714769b10f9f4d873a (diff) |
iio: Remove timestamp argument from iio_trigger_poll() and iio_trigger_poll_chained()
argument has been ignored; adjust drivers accordingly
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/trigger')
-rw-r--r-- | drivers/iio/trigger/iio-trig-interrupt.c | 3 | ||||
-rw-r--r-- | drivers/iio/trigger/iio-trig-sysfs.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/drivers/iio/trigger/iio-trig-interrupt.c b/drivers/iio/trigger/iio-trig-interrupt.c index 02577ec54c6b..7a149a7822bc 100644 --- a/drivers/iio/trigger/iio-trig-interrupt.c +++ b/drivers/iio/trigger/iio-trig-interrupt.c | |||
@@ -24,8 +24,7 @@ struct iio_interrupt_trigger_info { | |||
24 | 24 | ||
25 | static irqreturn_t iio_interrupt_trigger_poll(int irq, void *private) | 25 | static irqreturn_t iio_interrupt_trigger_poll(int irq, void *private) |
26 | { | 26 | { |
27 | /* Timestamp not currently provided */ | 27 | iio_trigger_poll(private); |
28 | iio_trigger_poll(private, 0); | ||
29 | return IRQ_HANDLED; | 28 | return IRQ_HANDLED; |
30 | } | 29 | } |
31 | 30 | ||
diff --git a/drivers/iio/trigger/iio-trig-sysfs.c b/drivers/iio/trigger/iio-trig-sysfs.c index 15e3b850f513..254c7e906127 100644 --- a/drivers/iio/trigger/iio-trig-sysfs.c +++ b/drivers/iio/trigger/iio-trig-sysfs.c | |||
@@ -96,7 +96,7 @@ static void iio_sysfs_trigger_work(struct irq_work *work) | |||
96 | struct iio_sysfs_trig *trig = container_of(work, struct iio_sysfs_trig, | 96 | struct iio_sysfs_trig *trig = container_of(work, struct iio_sysfs_trig, |
97 | work); | 97 | work); |
98 | 98 | ||
99 | iio_trigger_poll(trig->trig, 0); | 99 | iio_trigger_poll(trig->trig); |
100 | } | 100 | } |
101 | 101 | ||
102 | static ssize_t iio_sysfs_trigger_poll(struct device *dev, | 102 | static ssize_t iio_sysfs_trigger_poll(struct device *dev, |