提交 ee928cb0 编写于 作者: C Christopher Pezley 提交者: 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: NChristopher H. Pezley <chris@pezley.net>
Acked-by: NLaura Abbott <labbott@redhat.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册