aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/android
diff options
context:
space:
mode:
authorColin Ian King <colin.king@canonical.com>2020-08-05 12:26:55 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-08-18 15:56:27 +0200
commit0f86cfff5405f9937a9d9544bac25f3b1d9b4f08 (patch)
tree0d57efb6ef5d2ecaeb05bb92c63232d6259cb24d /drivers/staging/android
parentLinux 5.9-rc1 (diff)
downloadlinux-dev-0f86cfff5405f9937a9d9544bac25f3b1d9b4f08.tar.xz
linux-dev-0f86cfff5405f9937a9d9544bac25f3b1d9b4f08.zip
staging: ion: fix spelling mistake in function name "detatch" -> "detach"
There is a spelling mistake in the function name ion_dma_buf_detatch. Fix it by removing the extraneous t. Signed-off-by: Colin Ian King <colin.king@canonical.com> Acked-by: Hridya Valsaraju <hridya@google.com> Link: https://lore.kernel.org/r/20200805112655.17696-1-colin.king@canonical.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/android')
-rw-r--r--drivers/staging/android/ion/ion.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/android/ion/ion.c b/drivers/staging/android/ion/ion.c
index 3c9f09506ffa..e1fe03ceb7f1 100644
--- a/drivers/staging/android/ion/ion.c
+++ b/drivers/staging/android/ion/ion.c
@@ -205,8 +205,8 @@ static int ion_dma_buf_attach(struct dma_buf *dmabuf,
return 0;
}
-static void ion_dma_buf_detatch(struct dma_buf *dmabuf,
- struct dma_buf_attachment *attachment)
+static void ion_dma_buf_detach(struct dma_buf *dmabuf,
+ struct dma_buf_attachment *attachment)
{
struct ion_dma_buf_attachment *a = attachment->priv;
struct ion_buffer *buffer = dmabuf->priv;
@@ -331,7 +331,7 @@ static const struct dma_buf_ops dma_buf_ops = {
.mmap = ion_mmap,
.release = ion_dma_buf_release,
.attach = ion_dma_buf_attach,
- .detach = ion_dma_buf_detatch,
+ .detach = ion_dma_buf_detach,
.begin_cpu_access = ion_dma_buf_begin_cpu_access,
.end_cpu_access = ion_dma_buf_end_cpu_access,
};