Commit ee928cb0 authored by Christopher Pezley's avatar Christopher Pezley Committed by Greg Kroah-Hartman

staging: ion: Align cases with switch

The preferred indentation for cases and switches has the cases at
the same level as the switch.
Signed-off-by: default avatarChristopher H. Pezley <chris@pezley.net>
Acked-by: default avatarLaura Abbott <labbott@redhat.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 23f38938
......@@ -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;
......
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