]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
drm/etnaviv: Fix coding style
authorSui Jingfeng <suijingfeng@loongson.cn>
Mon, 2 Oct 2023 11:12:04 +0000 (19:12 +0800)
committerLucas Stach <l.stach@pengutronix.de>
Wed, 11 Oct 2023 16:50:07 +0000 (18:50 +0200)
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>
drivers/gpu/drm/etnaviv/etnaviv_drv.c

index a8d3fa81e4ec5d40fabe0f63018074372489b8d3..a3a17316a3289121f320a5c4d857d38d5e6b4328 100644 (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_PRIORITY_NORMAL, &sched,
                                              1, NULL);
-                       }
+               }
        }
 
        file->driver_priv = ctx;
@@ -233,11 +233,11 @@ static int show_each_gpu(struct seq_file *m, void *arg)
 }
 
 static struct drm_info_list etnaviv_debugfs_list[] = {
-               {"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs},
-               {"gem", show_unlocked, 0, etnaviv_gem_show},
-               { "mm", show_unlocked, 0, etnaviv_mm_show },
-               {"mmu", show_each_gpu, 0, etnaviv_mmu_show},
-               {"ring", show_each_gpu, 0, etnaviv_ring_show},
+       {"gpu", show_each_gpu, 0, etnaviv_gpu_debugfs},
+       {"gem", show_unlocked, 0, etnaviv_gem_show},
+       { "mm", show_unlocked, 0, etnaviv_mm_show },
+       {"mmu", show_each_gpu, 0, etnaviv_mmu_show},
+       {"ring", show_each_gpu, 0, etnaviv_ring_show},
 };
 
 static void etnaviv_debugfs_init(struct drm_minor *minor)