summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>2026-04-29 20:06:51 +0300
committerLee Jones <lee@kernel.org>2026-06-17 13:31:17 +0300
commitade13e2b7bbb1dcdfb98091236b5abf63f259d03 (patch)
tree9e855673d12b77459179866bd820b88e4fa2ef0f /include/linux
parentd18fd55c780c2bae3d353024cab7f8746d3d9e91 (diff)
downloadlinux-ade13e2b7bbb1dcdfb98091236b5abf63f259d03.tar.xz
mfd: Consistently define pci_device_ids using named initializers
The various struct pci_device_id arrays were initialized mostly by one of the PCI_DEVICE macros and then list expressions. The latter isn't easily readable if you're not into PCI. Using named initializers is more explicit and thus easier to parse. The secret plan is to make struct pci_device_id::driver_data an anonymous union (similar to https://lore.kernel.org/all/cover.1776579304.git.u.kleine-koenig@baylibre.com/) and that requires named initializers. But it's also a nice cleanup on its own. This change doesn't introduce changes to the compiled pci_device_id arrays. Tested on x86 and arm64. Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com> Link: https://patch.msgid.link/20260429170652.4178050-2-u.kleine-koenig@baylibre.com Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions