staging: ion: Align cases with switch
authorChristopher Pezley <chris@pezley.net>
Sat, 24 Sep 2016 16:51:58 +0000 (18:51 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 25 Sep 2016 10:37:14 +0000 (12:37 +0200)
The preferred indentation for cases and switches has the cases at
the same level as the switch.

Signed-off-by: Christopher H. Pezley <chris@pezley.net>
Acked-by: Laura Abbott <labbott@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/android/ion/ion_of.c

index 3486909a831010787a50668f234089832b006e79..826e756452d0be933a528f1ad7749fbb66ab3451 100644 (file)
@@ -58,15 +58,15 @@ static int ion_setup_heap_common(struct platform_device *parent,
        int ret = 0;
 
        switch (heap->type) {
-               case ION_HEAP_TYPE_CARVEOUT:
-               case ION_HEAP_TYPE_CHUNK:
-                       if (heap->base && heap->size)
-                               return 0;
-
-                       ret = of_reserved_mem_device_init(heap->priv);
-                       break;
-               default:
-                       break;
+       case ION_HEAP_TYPE_CARVEOUT:
+       case ION_HEAP_TYPE_CHUNK:
+               if (heap->base && heap->size)
+                       return 0;
+
+               ret = of_reserved_mem_device_init(heap->priv);
+               break;
+       default:
+               break;
        }
 
        return ret;