PCI: Introduce pci_bus_{get|put}() to manage PCI bus reference count
authorJiang Liu <liuj97@gmail.com>
Sat, 25 May 2013 13:48:29 +0000 (21:48 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 27 May 2013 22:22:09 +0000 (16:22 -0600)
commitfe830ef62ac6d8814e27b7e2f632848694b0e5c7
tree7a75eef662b6186781efb11566f3a7aa01a7cc60
parentf722406faae2d073cc1d01063d1123c35425939e
PCI: Introduce pci_bus_{get|put}() to manage PCI bus reference count

Introduce helper functions pci_bus_{get|put}() to manage PCI bus
reference count.

Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Yijing Wang <wangyijing@huawei.com>
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/bus.c
include/linux/pci.h