s390/pci: improve handling of bus resources
authorSebastian Ott <sebott@linux.vnet.ibm.com>
Tue, 12 Nov 2013 18:33:06 +0000 (19:33 +0100)
committerMartin Schwidefsky <schwidefsky@de.ibm.com>
Fri, 15 Nov 2013 13:08:37 +0000 (14:08 +0100)
commit7a572a3ab1d1d346fcde5243914a18b0218780e9
tree35fc7fdac2f24256204467609a3c0455fe51e836
parentd1e61fe49fd450be15d402ac353784f5ba8a624e
s390/pci: improve handling of bus resources

Cleanup the functions for allocation and setup of bus resources. Do
not allocate the same name for each resource but use a per-bus name.
Also provide means to cleanup all resources allocated by a bus.

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/include/asm/pci.h
arch/s390/pci/pci.c