diff options
-rw-r--r-- | drivers/iio/industrialio-trigger.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/iio/industrialio-trigger.c b/drivers/iio/industrialio-trigger.c index ec653fb51d0b..2ef36d15ccc5 100644 --- a/drivers/iio/industrialio-trigger.c +++ b/drivers/iio/industrialio-trigger.c | |||
@@ -234,7 +234,7 @@ static int iio_trigger_attach_poll_func(struct iio_trigger *trig, | |||
234 | return ret; | 234 | return ret; |
235 | } | 235 | } |
236 | 236 | ||
237 | static int iio_trigger_dettach_poll_func(struct iio_trigger *trig, | 237 | static int iio_trigger_detach_poll_func(struct iio_trigger *trig, |
238 | struct iio_poll_func *pf) | 238 | struct iio_poll_func *pf) |
239 | { | 239 | { |
240 | int ret = 0; | 240 | int ret = 0; |
@@ -502,7 +502,7 @@ EXPORT_SYMBOL(iio_triggered_buffer_postenable); | |||
502 | 502 | ||
503 | int iio_triggered_buffer_predisable(struct iio_dev *indio_dev) | 503 | int iio_triggered_buffer_predisable(struct iio_dev *indio_dev) |
504 | { | 504 | { |
505 | return iio_trigger_dettach_poll_func(indio_dev->trig, | 505 | return iio_trigger_detach_poll_func(indio_dev->trig, |
506 | indio_dev->pollfunc); | 506 | indio_dev->pollfunc); |
507 | } | 507 | } |
508 | EXPORT_SYMBOL(iio_triggered_buffer_predisable); | 508 | EXPORT_SYMBOL(iio_triggered_buffer_predisable); |