]> 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>
Wed, 22 May 2013 07:46:01 +0000 (09:46 +0200)
commit1f5110bd8850072e6206fee84a5e40ab6008bcac
tree0c1f17a648a86091403d39a827a0d89b0fca63f0
parent576ebd74928fd60ae112b33c42b89602015fadbd
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