PCI: endpoint: Use link_up() callback in place of LINK_UP notifier
authorManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Tue, 24 Jan 2023 07:11:58 +0000 (12:41 +0530)
committerKrzysztof Wilczyński <kwilczynski@kernel.org>
Mon, 13 Feb 2023 22:27:32 +0000 (07:27 +0900)
commitf5edd8715e2ea672e6119c3764041743761fb178
treeea9fb27e6fa67bee9551b0063cb19a966552ee85
parent838125b07e7706b1a9069079a73507fd3df244f7
PCI: endpoint: Use link_up() callback in place of LINK_UP notifier

As a part of the transition towards callback mechanism for signalling the
events from EPC to EPF, let's use the link_up() callback in the place of
the LINK_UP notifier. This also removes the notifier support completely
from the PCI endpoint framework.

Link: https://lore.kernel.org/linux-pci/20230124071158.5503-6-manivannan.sadhasivam@linaro.org
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Krzysztof Wilczyński <kwilczynski@kernel.org>
Acked-by: Kishon Vijay Abraham I <kishon@kernel.org>
drivers/pci/endpoint/functions/pci-epf-test.c
drivers/pci/endpoint/pci-epc-core.c
include/linux/pci-epc.h
include/linux/pci-epf.h