projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
41288e0
)
iio:ad_sigma_delta: Remove redundant call to iio_sw_buffer_preenable().
author
Lars-Peter Clausen
<lars@metafoo.de>
Mon, 14 Oct 2013 16:49:00 +0000
(17:49 +0100)
committer
Jonathan Cameron
<jic23@kernel.org>
Wed, 16 Oct 2013 18:12:40 +0000
(19:12 +0100)
The equivalent of iio_sw_buffer_preenable() is now done in the IIO buffer core,
so there is no need to do this from the driver anymore.
Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/adc/ad_sigma_delta.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/iio/adc/ad_sigma_delta.c
b/drivers/iio/adc/ad_sigma_delta.c
index 2b59112747633b0a9f8cec683d6f94336fc06efd..e6fbd3e70981fca1a4d93d2c03891fcf1efde6c0 100644
(file)
--- a/
drivers/iio/adc/ad_sigma_delta.c
+++ b/
drivers/iio/adc/ad_sigma_delta.c
@@
-397,7
+397,6
@@
static irqreturn_t ad_sd_trigger_handler(int irq, void *p)
}
static const struct iio_buffer_setup_ops ad_sd_buffer_setup_ops = {
- .preenable = &iio_sw_buffer_preenable,
.postenable = &ad_sd_buffer_postenable,
.predisable = &iio_triggered_buffer_predisable,
.postdisable = &ad_sd_buffer_postdisable,