]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Mon, 10 Jun 2013 14:06:10 +0000 (16:06 +0200)
commit3467aea3b30fcca7561998779c6ceb84f4b4f411
tree41ecb0e65f9b7541b8c1d0eb88d9eccccc1b33fa
parentc46b54f7406780ec4cf9c9124d1cfb777674dc70
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