mirror of
https://github.com/torvalds/linux.git
synced 2026-09-26 10:02:02 +02:00
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 |
||
|---|---|---|
| .. | ||
| Kconfig | ||
| Makefile | ||
| mgag200_bmc.c | ||
| mgag200_ddc.c | ||
| mgag200_ddc.h | ||
| mgag200_drv.c | ||
| mgag200_drv.h | ||
| mgag200_g200.c | ||
| mgag200_g200eh.c | ||
| mgag200_g200eh3.c | ||
| mgag200_g200eh5.c | ||
| mgag200_g200er.c | ||
| mgag200_g200ev.c | ||
| mgag200_g200ew3.c | ||
| mgag200_g200se.c | ||
| mgag200_g200wb.c | ||
| mgag200_mode.c | ||
| mgag200_reg.h | ||
| mgag200_vga_bmc.c | ||
| mgag200_vga.c | ||