mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-06 03:06:50 -04:00
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: Christopher H. Pezley <chris@pezley.net> Acked-by: Laura Abbott <labbott@redhat.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
23f389384b
commit
ee928cb013
@@ -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;
|
||||
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;
|
||||
ret = of_reserved_mem_device_init(heap->priv);
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
||||
Reference in New Issue
Block a user