diff options
| author | Pawel Zalewski <pzalewski@thegoodpenguin.co.uk> | 2026-09-15 14:48:20 +0100 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-10-18 09:35:07 -0700 |
| commit | 4810ec90c4a29e2a8883d63812b2d78aa945c3d7 (patch) | |
| tree | c2a0562682b55da749a7a509f556348b1ea7a46e /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | f173bf7161def6ab83f95363857869b64cfc0c45 (diff) | |
| download | linux-4810ec90c4a29e2a8883d63812b2d78aa945c3d7.tar.gz linux-4810ec90c4a29e2a8883d63812b2d78aa945c3d7.zip | |
hwmon: use named initializers for acpi_device_id
Use a designated 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.
Unify the list terminator to have a single space between the brackets and
no trailing comma.
Signed-off-by: Pawel Zalewski <pzalewski@thegoodpenguin.co.uk>
Link: https://patch.msgid.link/20260915-acpi-hwmon-v2-1-39d17c748eb6@thegoodpenguin.co.uk
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions
