summaryrefslogtreecommitdiffstats
path: root/drivers/iio/adc/at91_adc.c
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2013-09-15 18:50:00 +0200
committerJonathan Cameron <jic23@kernel.org>2013-09-15 20:05:07 +0200
commit8c60c7e75de79fe429afea3c7300d010c091bc4e (patch)
tree81aa0ec318da5d305f06f7944017732a7f63dd5b /drivers/iio/adc/at91_adc.c
parentiio: iio_push_to_buffers(): Change type of 'data' to const void * (diff)
downloadlinux-8c60c7e75de79fe429afea3c7300d010c091bc4e.tar.xz
linux-8c60c7e75de79fe429afea3c7300d010c091bc4e.zip
iio: Remove unnecessary casts for iio_push_to_buffers()
Now that iio_push_to_buffers() takes a void pointer for the data parameter we can remove those casts to u8*. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'drivers/iio/adc/at91_adc.c')
-rw-r--r--drivers/iio/adc/at91_adc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c
index 84be63bdf038..6da5ebb25502 100644
--- a/drivers/iio/adc/at91_adc.c
+++ b/drivers/iio/adc/at91_adc.c
@@ -89,7 +89,7 @@ static irqreturn_t at91_adc_trigger_handler(int irq, void *p)
*timestamp = pf->timestamp;
}
- iio_push_to_buffers(idev, (u8 *)st->buffer);
+ iio_push_to_buffers(idev, st->buffer);
iio_trigger_notify_done(idev->trig);