diff options
| author | Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> | 2026-05-05 12:29:09 +0200 |
|---|---|---|
| committer | Juergen Gross <jgross@suse.com> | 2026-06-08 08:57:25 +0200 |
| commit | 74b94fc5bb7a53620ba1dcd3de64c7393a6bb0a4 (patch) | |
| tree | 86f9ffeb44ba42f3d7649bd10868beb47c8f9951 /rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git | |
| parent | 4549871118cf616eecdd2d939f78e3b9e1dddc48 (diff) | |
xen/platform-pci: Simplify initialization of pci_device_id array
Instead of using a list initializer---that is hard to read unless you know
the structure of struct pci_device_id by heart---use the PCI_VDEVICE
macro to assign the needed values and drop all explicit but unneeded
zeros.
This doesn't introduce any changes to the compiled result of the array.
Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Juergen Gross <jgross@suse.com>
Signed-off-by: Juergen Gross <jgross@suse.com>
Message-ID: <20260505102909.2380470-2-u.kleine-koenig@baylibre.com>
Diffstat (limited to 'rust/zerocopy/src/pointer/git@git.tavy.me:linux-stable.git')
0 files changed, 0 insertions, 0 deletions
