dm: pci: Add a dm_ prefix to pci_bus_find_bdf()
authorSimon Glass <sjg@chromium.org>
Sun, 29 Nov 2015 20:17:48 +0000 (13:17 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 12 Jan 2016 17:19:09 +0000 (10:19 -0700)
commitf3f1faefcc25c7cce2babe944aa39178b498cd7f
tree4874c13241068c8097b62b2d6c968af042f7ba13
parent21ccce1ba52253d776ecd7003e14910eed93160b
dm: pci: Add a dm_ prefix to pci_bus_find_bdf()

Most driver model PCI functions have a dm_ prefix. At some point, when the
old code is converted to driver model and the old functions are removed, we
will drop that prefix.

For consistency, we should use the dm_ prefix for all driver model
functions. Update pci_bus_find_bdf() accordingly.

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