PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus)
authorGu Zheng <guz.fnst@cn.fujitsu.com>
Sat, 25 May 2013 13:48:31 +0000 (21:48 +0800)
committerBjorn Helgaas <bhelgaas@google.com>
Wed, 5 Jun 2013 19:49:36 +0000 (13:49 -0600)
commit8b1fce04dc2a2210f050484afa85acc3a81cfbba
treed790a4d12baf35c9f32cafde8386d505a7576067
parent3c6e6ae770f338ef3e54c5823c21063204f53537
PCI: Convert alloc_pci_dev(void) to pci_alloc_dev(bus)

Use the new pci_alloc_dev(bus) to replace the existing using of
alloc_pci_dev(void).

[bhelgaas: drop pci_bus ref later in pci_release_dev()]
Signed-off-by: Gu Zheng <guz.fnst@cn.fujitsu.com>
Signed-off-by: Jiang Liu <jiang.liu@huawei.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Paul Mackerras <paulus@samba.org>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: David Airlie <airlied@linux.ie>
Cc: Neela Syam Kolli <megaraidlinux@lsi.com>
Cc: "James E.J. Bottomley" <JBottomley@parallels.com>
Cc: Yinghai Lu <yinghai@kernel.org>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Cc: Andrew Morton <akpm@linux-foundation.org>
arch/powerpc/kernel/pci_of_scan.c
arch/sparc/kernel/pci.c
drivers/char/agp/alpha-agp.c
drivers/char/agp/parisc-agp.c
drivers/pci/iov.c
drivers/pci/probe.c
drivers/scsi/megaraid.c