PCI: endpoint: Make ->remove() callback optional
authorKishon Vijay Abraham I <kishon@ti.com>
Fri, 18 Aug 2017 14:57:55 +0000 (20:27 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 21:00:36 +0000 (16:00 -0500)
commit28daeff66990db85022c6a8b410e5b78dc78ff6a
tree5ec3cff1d77101cf24e06bb48d9a567337de48ad
parentf01f969e25ecc6f88844bcdd63f1f27610418bbc
PCI: endpoint: Make ->remove() callback optional

Make ->remove() callback optional so that endpoint function drivers don't
have to populate empty ->remove() callback functions.

Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/endpoint/pci-epf-core.c