summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-record
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-07-05 17:14:14 +0200
committerUwe Kleine-König <ukleinek@kernel.org>2026-07-10 09:59:13 +0200
commit5ab2c51c888f6b3a351b40fdfe6c381e2b972ab6 (patch)
treeafb09a2db4f54b29ae464df3de90e4821f674458 /tools/perf/scripts/python/bin/stackcollapse-record
parent97ba86ba8d5f84136bbe1e1824f0a28e1c39b02f (diff)
pwm: Use named initializers for arrays of acpi_device_id
While being less compact, using named initializers allows to more easily see which members of the structs are assigned which value without having to lookup the declaration of the struct. And it's also more robust against changes to the struct definition. The mentioned robustness is relevant for a planned change to struct acpi_device_id that replaces .driver_data by an anonymous union. This patch doesn't modify the compiled arrays, only their representation in source form benefits. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/1a03da9625e1e6bf2befa13c64525e2dfa2243e7.1783263835.git.ukleinek@kernel.org Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions