diff options
| author | Pawel Zalewski (The Capable Hub) <pzalewski@thegoodpenguin.co.uk> | 2026-08-04 10:44:26 +0100 |
|---|---|---|
| committer | Damien Le Moal <dlemoal@kernel.org> | 2026-08-04 18:48:43 +0900 |
| commit | 73b6bf3c314ad34a9fd389f84de6e8dbfc204880 (patch) | |
| tree | 0acc4fe3118ef94f7e8d96e561bce0f69f33bfd1 /tools/perf/scripts/python/stackcollapse.py | |
| parent | c303c3619a1d5cf7d4b457106062d16724724a80 (diff) | |
ata: use named initializers for acpi_device_id
Use a named initializer for the acpi_device_id fields which makes the code
more readable and consistent with how lists are initialized in the rest of
the kernel code base. Also drop explicitly setting fields to 0 where it is
redundant.
While we are at it - unify the list terminator to have a single space
between the brackets and no trailing comma.
Signed-off-by: Pawel Zalewski (The Capable Hub) <pzalewski@thegoodpenguin.co.uk>
Reviewed-by: Niklas Cassel <cassel@kernel.org>
Signed-off-by: Damien Le Moal <dlemoal@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
