]> www.infradead.org Git - users/jedix/linux-maple.git/commit
PCI: Use array for .id_table consistently
authorMasahiro Yamada <masahiroy@kernel.org>
Fri, 17 May 2024 12:04:58 +0000 (21:04 +0900)
committerBjorn Helgaas <bhelgaas@google.com>
Fri, 7 Jun 2024 19:46:12 +0000 (14:46 -0500)
commit7d2ebbc33d9f65a492d8a41fd33036e411366341
tree589b2db647d046f062c25a322c800d73317baa14
parent88f2ab39990a3ab8b13c3cb6e276459a1a6c370b
PCI: Use array for .id_table consistently

While 'x' and '&x[0]' are equivalent, most of the PCI drivers use the
former form for the .id_table.

Update some drivers and documentation for consistency.

Link: https://lore.kernel.org/r/20240517120458.1260489-1-masahiroy@kernel.org
Signed-off-by: Masahiro Yamada <masahiroy@kernel.org>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Documentation/PCI/pciebus-howto.rst
Documentation/translations/zh_CN/PCI/pciebus-howto.rst
drivers/pci/pcie/portdrv.c
drivers/usb/cdns3/cdnsp-pci.c
drivers/usb/gadget/udc/cdns2/cdns2-pci.c