PCI: endpoint: Remove the ->remove() callback
authorShawn Lin <shawn.lin@rock-chips.com>
Fri, 18 Aug 2017 14:58:01 +0000 (20:28 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 29 Aug 2017 21:00:38 +0000 (16:00 -0500)
commit2ca93ffa93122324ce3b0e728d6e80671ea53f17
tree7632d9da946b0b9f31e418ff54f199b2e72576c0
parent702a3ed9d6ea8c9fe438725c32bfe7d967959070
PCI: endpoint: Remove the ->remove() callback

epf_test is allocated using devm_kzalloc(). Hence it's not required to
explicitly free it in remove() callback. Since ->remove() callback doesn't
do anything other than freeing epf_test, remove the ->remove() callback.

Signed-off-by: Shawn Lin <shawn.lin@rock-chips.com>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/endpoint/functions/pci-epf-test.c