Commit 1f536fcc authored by Jaikumar Dhanapal's avatar Jaikumar Dhanapal Committed by Greg Kroah-Hartman

staging: android: ion: cosmetic changes

Checks reported by the checkpatch.pl scripts are resolved.
This patch contains trivial changes like alignment and trailing
whitespace removal
Signed-off-by: default avatarJaikumar Dhanapal <jai_krpv@yahoo.co.in>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent d05038cc
...@@ -264,7 +264,6 @@ static void ion_dma_buf_detatch(struct dma_buf *dmabuf, ...@@ -264,7 +264,6 @@ static void ion_dma_buf_detatch(struct dma_buf *dmabuf,
kfree(a); kfree(a);
} }
static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment, static struct sg_table *ion_map_dma_buf(struct dma_buf_attachment *attachment,
enum dma_data_direction direction) enum dma_data_direction direction)
{ {
...@@ -354,7 +353,6 @@ static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf, ...@@ -354,7 +353,6 @@ static int ion_dma_buf_begin_cpu_access(struct dma_buf *dmabuf,
mutex_unlock(&buffer->lock); mutex_unlock(&buffer->lock);
} }
mutex_lock(&buffer->lock); mutex_lock(&buffer->lock);
list_for_each_entry(a, &buffer->attachments, list) { list_for_each_entry(a, &buffer->attachments, list) {
dma_sync_sg_for_cpu(a->dev, a->table->sgl, a->table->nents, dma_sync_sg_for_cpu(a->dev, a->table->sgl, a->table->nents,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment