]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
PCI: Free resource files in error path of pci_create_sysfs_dev_files()
authorMichael Ellerman <michael@ellerman.id.au>
Wed, 18 Apr 2007 03:34:12 +0000 (13:34 +1000)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 3 May 2007 02:02:43 +0000 (19:02 -0700)
commit9890b12a4a65a7b3181dd963421740edf0e14d69
tree2bdd7480a28ea6a31db49f768fa83333a61a5a16
parentc0affe9db42bf85f4a606b3262c35ec59a5d3788
PCI: Free resource files in error path of pci_create_sysfs_dev_files()

pci_create_sysfs_dev_files() should call pci_remove_resource_files() in
its error path, to match the call it makes to pci_create_resource_files().

Signed-off-by: Michael Ellerman <michael@ellerman.id.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/pci/pci-sysfs.c