Commit 4cb91cc2 authored by Sui Jingfeng's avatar Sui Jingfeng Committed by Lucas Stach

drm/etnaviv: Fix coding style

1) Keep the curly brace aligned.
2) No indentation by double tabs where single tab indentation is enough.
Signed-off-by: default avatarSui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: default avatarLucas Stach <l.stach@pengutronix.de>
parent 4c6e6c01
...@@ -79,7 +79,7 @@ static int etnaviv_open(struct drm_device *dev, struct drm_file *file) ...@@ -79,7 +79,7 @@ static int etnaviv_open(struct drm_device *dev, struct drm_file *file)
drm_sched_entity_init(&ctx->sched_entity[i], drm_sched_entity_init(&ctx->sched_entity[i],
DRM_SCHED_PRIORITY_NORMAL, &sched, DRM_SCHED_PRIORITY_NORMAL, &sched,
1, NULL); 1, NULL);
} }
} }
file->driver_priv = ctx; file->driver_priv = ctx;
...@@ -233,11 +233,11 @@ static int show_each_gpu(struct seq_file *m, void *arg) ...@@ -233,11 +233,11 @@ static int show_each_gpu(struct seq_file *m, void *arg)
} }
static struct drm_info_list etnaviv_debugfs_list[] = { static struct drm_info_list etnaviv_debugfs_list[] = {
{"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs}, {"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs},
{"gem", show_unlocked, 0, etnaviv_gem_show}, {"gem", show_unlocked, 0, etnaviv_gem_show},
{ "mm", show_unlocked, 0, etnaviv_mm_show }, { "mm", show_unlocked, 0, etnaviv_mm_show },
{"mmu", show_each_gpu, 0, etnaviv_mmu_show}, {"mmu", show_each_gpu, 0, etnaviv_mmu_show},
{"ring", show_each_gpu, 0, etnaviv_ring_show}, {"ring", show_each_gpu, 0, etnaviv_ring_show},
}; };
static void etnaviv_debugfs_init(struct drm_minor *minor) static void etnaviv_debugfs_init(struct drm_minor *minor)
......
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