]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
PCI/portdrv: Use bus-type functions
authorUwe Kleine-König <u.kleine-koenig@baylibre.com>
Tue, 2 Dec 2025 15:13:54 +0000 (16:13 +0100)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 13 Jan 2026 21:49:12 +0000 (15:49 -0600)
commitcba202aa355d2c6297d55c9d5dacceae01266b9c
treeba30e0009d198387bc637edb43ed6748e403293f
parent9d29a9c06f3e88e47ae43a26b61eebe7372dbee3
PCI/portdrv: Use bus-type functions

Instead of assigning the probe function for each driver individually, use
.probe() and .remove() from the pci_express bus. Rename the functions for
consistency.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Jonathan Cameron <jonathan.cameron@huawei.com>
Link: https://patch.msgid.link/83d1edc7d619423331fa6802f0e7da3919a308a9.1764688034.git.u.kleine-koenig@baylibre.com
drivers/pci/pcie/portdrv.c