diff options
author | Thorsten Blum <thorsten.blum@linux.dev> | 2025-09-11 02:23:51 +0300 |
---|---|---|
committer | Andrew Morton <akpm@linux-foundation.org> | 2025-09-23 06:10:58 +0300 |
commit | 04ae01a80df616b0998bb6a81c8db310f3aef102 (patch) | |
tree | 1e32ff34f2ca32c43c661fc6986b3ba1c1e3a28f /drivers/platform/x86/intel/pmt/class.c | |
parent | 5b86af1ded2d90402477dce6d4cf8dfa95cca6ac (diff) | |
download | linux-04ae01a80df616b0998bb6a81c8db310f3aef102.tar.xz |
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/platform/x86/intel/pmt/class.c')
0 files changed, 0 insertions, 0 deletions