s390/pci: use to_pci_dev
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Fri, 17 May 2013 14:33:40 +0000 (16:33 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 26 Jun 2013 19:09:59 +0000 (21:09 +0200)
commit9294896e974eec9630cf9f81eb9a38d3869db105
tree1a1172f0b6c588f2ed37ea23b81809c09fe326ba
parent1e876e3b1a9df25bb04682b0d48aaa7e8ae1fc82
s390/pci: use to_pci_dev

Use the to_pci_dev macro to fetch a pci_dev from a struct device
pointer.

Reviewed-by: Gerald Schaefer <gerald.schaefer@de.ibm.com>
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
arch/s390/pci/pci_dma.c
arch/s390/pci/pci_sysfs.c