]> git.ipfire.org Git - thirdparty/linux.git/commit
atm: solos-pci: Simplify initialisation of pci_device_id array
authorUwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Mon, 4 May 2026 15:12:01 +0000 (17:12 +0200)
committerJakub Kicinski <kuba@kernel.org>
Wed, 6 May 2026 01:05:21 +0000 (18:05 -0700)
commit17099a2f86cbbcde762f67d629696aaa61b34fb7
tree93f2a7930267f19fc0ceb7da18c507a9bae67b7d
parent9c7d567358cc71d3330c245b7db14935490e7ab0
atm: solos-pci: Simplify initialisation of pci_device_id array

Use the convenience macro PCI_DEVICE to initialize .vendor, .device,
.subvendor and .subdevice. Drop explicit zeros that the compiler also
fills in.

Signed-off-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20260504151202.2139919-2-u.kleine-koenig@baylibre.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/atm/solos-pci.c