diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-11 01:23:51 +0200 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-22 20:10:58 -0700 |
commit | 04ae01a80df616b0998bb6a81c8db310f3aef102 (patch) | |
tree | 1e32ff34f2ca32c43c661fc6986b3ba1c1e3a28f /drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c | |
parent | 5b86af1ded2d90402477dce6d4cf8dfa95cca6ac (diff) |
lib/decompress: use designated initializers for struct compress_format
Switch 'compressed_formats[]' to the more modern and flexible designated
initializers. This improves readability and allows struct fields to be
reordered. Also use a more concise sentinel marker.
Remove the curly braces around the for loop while we're at it.
No functional changes intended.
Link: https://lkml.kernel.org/r/20250910232350.1308206-2-thorsten.blum@linux.dev
Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Reviewed-by: Kuan-Wei Chiu <visitorckw@gmail.com>
Cc: David Sterba <dsterba@suse.com>
Cc: Nick Terrell <terrelln@fb.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_sched.c')
0 files changed, 0 insertions, 0 deletions