s390/pci: free resources after failed bus allocation
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 28 Jul 2015 17:10:45 +0000 (19:10 +0200)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Wed, 29 Jul 2015 07:11:49 +0000 (09:11 +0200)
commit2b1df72416a858f928c4edcbbb7f13b8dfc10a35
tree43d5dc414ae0ee51d06f994b342d3e58961664b5
parent64776820b4ffe9a9f38b9d5bbcbc6ec771509fda
s390/pci: free resources after failed bus allocation

Free bus resources when the allocation/registration of the bus failed.

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.c