staging: spectra: call disable_pci_device() if pci_probe() failed
authorKulikov Vasiliy <segooon@gmail.com>
Mon, 9 Aug 2010 19:52:06 +0000 (23:52 +0400)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 31 Aug 2010 21:48:08 +0000 (14:48 -0700)
commit4fd09f900a218c3cb61a2b015b03dcbd6f96b600
tree5a92ea992fe2ec43a563d5fd73022cb5bbe34e49
parentbeef9697244991c43673716447edd8a12b177b36
staging: spectra: call disable_pci_device() if pci_probe() failed

Driver should call disable_pci_device() if it returns from pci_probe()
with error.

Signed-off-by: Kulikov Vasiliy <segooon@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/staging/spectra/lld_nand.c