summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-05-04 17:24:21 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2026-05-15 18:08:36 +0800
commit15d253c5d7fa17d3499c885bdb82070546180e44 (patch)
treec6485f5b00caaf37bf8df7ce708b238463b857c5 /tools/perf/scripts/python
parent69f93dbb40377edc4c4bf3fc67bbd63ba35fde3d (diff)
crypto: ccp - Define pci_device_ids using named initializers
The .driver_data member of the struct pci_device_id array was initialized by list expressions. This isn't easily readable if you're not into PCI. Using the PCI_DEVICE macro and named initializers is more explicit and thus easier to parse. Also skip explicit assignment of 0 (which the compiler then takes care of) in the terminating entry. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Acked-by: Tom Lendacky <thomas.lendacky@amd.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions