sandbox: pci: Drop the get_devfn() method
authorSimon Glass <sjg@chromium.org>
Wed, 25 Sep 2019 14:56:04 +0000 (08:56 -0600)
committerBin Meng <bmeng.cn@gmail.com>
Tue, 8 Oct 2019 05:57:40 +0000 (13:57 +0800)
commitfae2c16ede7bf00c8f7873a96fc2b34d5345d751
tree6cd1d6eefcec4403125dcfee011a899670a46b43
parentcea7c0956ac2134e67f9d93bd96b2f2b4b85b430
sandbox: pci: Drop the get_devfn() method

This method is not used anymore since the bus/device/function of PCI
devices can be obtained from their (parent's per-child) platform data.
Drop it.

Signed-off-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Bin Meng <bmeng.cn@gmail.com>
drivers/misc/swap_case.c
include/pci.h