OSDN Git Service

staging: android: ion: Replace spaces with tabs for indentation
authorPaolo Cretaro <melko@frugalware.org>
Fri, 21 Apr 2017 22:47:59 +0000 (00:47 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 25 Apr 2017 18:56:14 +0000 (20:56 +0200)
Fix checkpatch ERRORs: code indent should use tabs where possible.

Signed-off-by: Paolo Cretaro <melko@frugalware.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_cma_heap.c

index dc2a913..a0949bc 100644 (file)
@@ -108,7 +108,7 @@ static struct ion_heap *__ion_cma_heap_create(struct cma *cma)
 
 int __ion_add_cma_heaps(struct cma *cma, void *data)
 {
-        struct ion_heap *heap;
+       struct ion_heap *heap;
 
        heap = __ion_cma_heap_create(cma);
        if (IS_ERR(heap))
@@ -116,8 +116,8 @@ int __ion_add_cma_heaps(struct cma *cma, void *data)
 
        heap->name = cma_get_name(cma);
 
-        ion_device_add_heap(heap);
-        return 0;
+       ion_device_add_heap(heap);
+       return 0;
 }
 
 static int ion_add_cma_heaps(void)