Skip to content

Commit 4cb91cc

Browse files
Sui Jingfenglynxeye-dev
authored andcommitted
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: Sui Jingfeng <suijingfeng@loongson.cn> Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
1 parent 4c6e6c0 commit 4cb91cc

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

drivers/gpu/drm/etnaviv/etnaviv_drv.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ static int etnaviv_open(struct drm_device *dev, struct drm_file *file)
7979
drm_sched_entity_init(&ctx->sched_entity[i],
8080
DRM_SCHED_PRIORITY_NORMAL, &sched,
8181
1, NULL);
82-
}
82+
}
8383
}
8484

8585
file->driver_priv = ctx;
@@ -233,11 +233,11 @@ static int show_each_gpu(struct seq_file *m, void *arg)
233233
}
234234

235235
static struct drm_info_list etnaviv_debugfs_list[] = {
236-
{"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs},
237-
{"gem", show_unlocked, 0, etnaviv_gem_show},
238-
{ "mm", show_unlocked, 0, etnaviv_mm_show },
239-
{"mmu", show_each_gpu, 0, etnaviv_mmu_show},
240-
{"ring", show_each_gpu, 0, etnaviv_ring_show},
236+
{"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs},
237+
{"gem", show_unlocked, 0, etnaviv_gem_show},
238+
{ "mm", show_unlocked, 0, etnaviv_mm_show },
239+
{"mmu", show_each_gpu, 0, etnaviv_mmu_show},
240+
{"ring", show_each_gpu, 0, etnaviv_ring_show},
241241
};
242242

243243
static void etnaviv_debugfs_init(struct drm_minor *minor)

0 commit comments

Comments
 (0)