Files
linux/drivers/gpu/drm
Uwe Kleine-König (The Capable Hub) 01d1004449 drm: Consistently define pci_device_ids using named initializers
The .driver_data member of the various struct pci_device_id arrays were
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 assignments of 0
(which the compiler then takes care of).

This change doesn't introduce changes to the compiled pci_device_id
arrays. Tested on x86 and arm64.

v2:
- gma500: fix coding style in cast

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Reviewed-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Link: https://patch.msgid.link/20260504150537.2136760-2-u.kleine-koenig@baylibre.com
2026-06-17 11:07:01 +02:00
..
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-05-28 09:58:36 +02:00
2026-03-12 07:23:23 -07:00