s390/pci: inline get_zdev
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 23 Jun 2015 12:06:35 +0000 (14:06 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 22 Jul 2015 07:58:05 +0000 (09:58 +0200)
commit198a52789435a00087040ad0ec25da84c555621f
treeae588caa030d5bfcf584698840cf573bddc338e5
parent2acb94f43128b5cd375873f9ba82fac968d3ce5d
s390/pci: inline get_zdev

Inline get_zdev to save ~200 bytes of kernel text for CONFIG_PCI=y.
Also rename the function to to_zpci to make clear that we don't do
reference counting here.

Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/include/asm/pci.h
arch/s390/pci/pci.c
arch/s390/pci/pci_dma.c
arch/s390/pci/pci_sysfs.c