Commit 034bd7b5d926816285deb71c41a230b912524f8b
Committed by
Jonathan Cameron
1 parent
3bdff93782
Exists in
smarc-l5.0.0_1.0.0-ga
and in
5 other branches
iio: fix spelling of detach in static func
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Showing 1 changed file with 2 additions and 2 deletions Side-by-side Diff
drivers/iio/industrialio-trigger.c
... | ... | @@ -234,7 +234,7 @@ |
234 | 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 | 238 | struct iio_poll_func *pf) |
239 | 239 | { |
240 | 240 | int ret = 0; |
... | ... | @@ -502,7 +502,7 @@ |
502 | 502 | |
503 | 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 | 506 | indio_dev->pollfunc); |
507 | 507 | } |
508 | 508 | EXPORT_SYMBOL(iio_triggered_buffer_predisable); |